Skip to content

Instantly share code, notes, and snippets.

@clayg
Created April 14, 2015 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clayg/294e0399f335296e57a6 to your computer and use it in GitHub Desktop.
Save clayg/294e0399f335296e57a6 to your computer and use it in GitHub Desktop.
diff --git a/test/unit/obj/test_diskfile.py b/test/unit/obj/test_diskfile.py
index c64296f..6dfcc84 100644
--- a/test/unit/obj/test_diskfile.py
+++ b/test/unit/obj/test_diskfile.py
@@ -1337,9 +1337,7 @@ class TestECDiskFileManager(DiskFileManagerMixin, unittest.TestCase):
]
for files in scenarios:
class_under_test = self._get_diskfile(POLICIES.default)
- self.assertRaises(AssertionError,
- class_under_test.manager.get_ondisk_files,
- files, self.testdir)
+ self.assertRaises(DiskFileNotExist, class_under_test.open)
def test_parse_on_disk_filename(self):
mgr = self.df_router[POLICIES.default]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment