Adds test for configuration file content in usecase.

main
Olivier Mangin 8 years ago
parent 366575763c
commit 69d7587108

@ -536,7 +536,8 @@ class TestUsecase(DataCommandTestCase):
('pubs conf', [str_fixtures.sample_conf]), ('pubs conf', [str_fixtures.sample_conf]),
] ]
self.execute_cmds(cmds) self.execute_cmds(cmds)
self.assertFileContentEqual(os.path.expanduser('~/.pubsrc'),
str_fixtures.sample_conf)
def test_editor_abort(self): def test_editor_abort(self):
with self.assertRaises(FakeSystemExit): with self.assertRaises(FakeSystemExit):

Loading…
Cancel
Save