File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,22 @@ class TmuxinatorDeprecationsTest(unittest.TestCase):
9999 - logs: tail -f log/development.log
100100 - console: bundle exec rails c
101101 - capistrano:
102- '''
103102 - server: ssh user@example.com
104103 """
105104
105+ tmuxinator_dict = {
106+ 'project_name' : 'sample' ,
107+ 'project_root' : '~/test' ,
108+ 'socket_name' : 'foo'
109+ }
110+
111+ def test_config_to_dict (self ):
112+ self .maxDiff = None
113+ configparser = kaptan .Kaptan (handler = 'yaml' )
114+ test_config = configparser .import_config (self .tmuxinator_yaml )
115+ yaml_to_dict = test_config .get ()
116+ self .assertDictEqual (yaml_to_dict , self .tmuxinator_dict )
117+
106118
107119class TmuxinatoriSampleTest (unittest .TestCase ):
108120
@@ -148,9 +160,9 @@ class TmuxinatoriSampleTest(unittest.TestCase):
148160 - logs: tail -f log/development.log
149161 - console: bundle exec rails c
150162 - capistrano:
151-
152163 - server: ssh user@example.com
153164 """
165+ pass
154166
155167if __name__ == '__main__' :
156168 unittest .main ()
You can’t perform that action at this time.
0 commit comments