Two simple test fixes

This commit is contained in:
Dave Halter
2019-03-08 16:23:37 +01:00
parent ffd9a6b484
commit f93134d4f8
2 changed files with 3 additions and 3 deletions

View File

@@ -68,8 +68,8 @@ _s = ['/a', '/b', '/c/d/']
@pytest.mark.parametrize(
'sys_path_, module_path, result', [
(_s, '/a/b', None),
(_s, '/a/b/c', None),
(_s, '/a/b', ['b']),
(_s, '/a/b/c', ['b', 'c']),
(_s, '/a/b.py', ['b']),
(_s, '/a/b/c.py', ['b', 'c']),
(_s, '/x/b.py', None),