Search for a directory's file path. Expected output: a path to that directory's __init__.py file.
()
| 74 | |
| 75 | |
| 76 | def test_find_mod_1(): |
| 77 | """ |
| 78 | Search for a directory's file path. |
| 79 | Expected output: a path to that directory's __init__.py file. |
| 80 | """ |
| 81 | modpath = join(TMP_TEST_DIR, "xmod", "__init__.py") |
| 82 | nt.assert_equal(mp.find_mod("xmod"), modpath) |
| 83 | |
| 84 | def test_find_mod_2(): |
| 85 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected