Search for a directory + a filename without its .py extension Expected output: full path with .py extension.
()
| 91 | nt.assert_equal(mp.find_mod("xmod"), modpath) |
| 92 | |
| 93 | def test_find_mod_3(): |
| 94 | """ |
| 95 | Search for a directory + a filename without its .py extension |
| 96 | Expected output: full path with .py extension. |
| 97 | """ |
| 98 | modpath = join(TMP_TEST_DIR, "xmod", "sub.py") |
| 99 | nt.assert_equal(mp.find_mod("xmod.sub"), modpath) |
| 100 | |
| 101 | def test_find_mod_4(): |
| 102 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected