(self)
| 59 | distribution(prefix) |
| 60 | |
| 61 | def test_for_top_level(self): |
| 62 | tests = [ |
| 63 | ('egginfo-pkg', 'mod'), |
| 64 | ('egg_with_no_modules-pkg', ''), |
| 65 | ] |
| 66 | for pkg_name, expect_content in tests: |
| 67 | with self.subTest(pkg_name): |
| 68 | self.assertEqual( |
| 69 | distribution(pkg_name).read_text('top_level.txt').strip(), |
| 70 | expect_content, |
| 71 | ) |
| 72 | |
| 73 | def test_read_text(self): |
| 74 | tests = [ |
nothing calls this directly
no test coverage detected