Skip to content

Commit

Permalink
Issue NifTK#182: implemented non-existing config file created test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzhoshkun Ismail Shakir committed Oct 13, 2017
1 parent fc725ef commit 4c436dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/niftynet_global_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ def test_000_global_config_singleton(self):
self.assertTrue(global_config_1 is global_config_2)

def test_010_non_existing_config_file_created(self):
# TODO
self.fail('not implemented')
global_config = NiftyNetGlobalConfig()
self.assertTrue(isfile(NiftyNetGlobalConfigTest.config_file))
self.assertEqual(global_config.get_niftynet_config_folder(),
NiftyNetGlobalConfigTest.config_home)

def test_011_existing_config_file_loaded(self):
# TODO
Expand Down

0 comments on commit 4c436dc

Please sign in to comment.