File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,20 +157,22 @@ def test_flavors(self):
157157 self .config ['flavor' ] = {'myflavor' : {'targets' : ['my_service' , 'my_gitlab' ]}}
158158 self .validate ()
159159
160-
161- def test_load_and_validate_example_toml ():
162- config_path = Path (__file__ ).parent / 'example-bugwarrior.toml'
163- raw_config = parse_file (str (config_path ))
164- config = validation .validate_config (raw_config , 'general' , str (config_path ))
165-
166- assert {conf .__class__ .__name__ for conf in config .service_configs } == {
167- 'GithubConfig' ,
168- 'GitlabConfig' ,
169- 'GmailConfig' ,
170- 'JiraConfig' ,
171- 'KanboardConfig' ,
172- 'PhabricatorConfig' ,
173- 'PivotalTrackerConfig' ,
174- 'RedMineConfig' ,
175- 'TracConfig' ,
176- }
160+ def test_load_and_validate_example_toml (self ):
161+ config_path = Path (__file__ ).parent / 'example-bugwarrior.toml'
162+ raw_config = parse_file (str (config_path ))
163+ config = validation .validate_config (raw_config , 'general' , str (config_path ))
164+
165+ self .assertEqual (
166+ {conf .__class__ .__name__ for conf in config .service_configs },
167+ {
168+ 'GithubConfig' ,
169+ 'GitlabConfig' ,
170+ 'GmailConfig' ,
171+ 'JiraConfig' ,
172+ 'KanboardConfig' ,
173+ 'PhabricatorConfig' ,
174+ 'PivotalTrackerConfig' ,
175+ 'RedMineConfig' ,
176+ 'TracConfig' ,
177+ },
178+ )
You can’t perform that action at this time.
0 commit comments