Adds test for configuration file content in usecase.

This commit is contained in:
Olivier Mangin 2017-08-01 23:42:37 -04:00
parent 366575763c
commit 69d7587108

View File

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