Adds test for configuration file content in usecase.
This commit is contained in:
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…
x
Reference in New Issue
Block a user