Remove duplicate test
This commit is contained in:
parent
0942df3b50
commit
366575763c
@ -35,17 +35,6 @@ class TestFileBroker(fake_env.TestFakeFs):
|
|||||||
meta_content = content.read_text_file('testrepo/meta/Page99.yaml')
|
meta_content = content.read_text_file('testrepo/meta/Page99.yaml')
|
||||||
self.assertEqual(fb.pull_metafile('Page99'), meta_content)
|
self.assertEqual(fb.pull_metafile('Page99'), meta_content)
|
||||||
|
|
||||||
def test_errors(self):
|
|
||||||
|
|
||||||
with self.assertRaises(IOError):
|
|
||||||
filebroker.FileBroker('testrepo', create = False)
|
|
||||||
|
|
||||||
fb = filebroker.FileBroker('testrepo', create = True)
|
|
||||||
with self.assertRaises(IOError):
|
|
||||||
fb.pull_bibfile('Page99')
|
|
||||||
with self.assertRaises(IOError):
|
|
||||||
fb.pull_metafile('Page99')
|
|
||||||
|
|
||||||
def test_errors(self):
|
def test_errors(self):
|
||||||
|
|
||||||
with self.assertRaises(IOError):
|
with self.assertRaises(IOError):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user