Ejemplo n.º 1
0
def test_find_module_5():
    assert mp.find_module("xmod.nopack") is None
Ejemplo n.º 2
0
def test_find_module_2():
    """Testing sys.path that is empty"""
    assert mp.find_module("xmod", []) is None
Ejemplo n.º 3
0
def test_find_module_4():
    """Testing sys.path that is empty"""
    assert mp.find_module(None) is None
Ejemplo n.º 4
0
def test_find_module_5():
    nt.assert_is_none(mp.find_module("xmod.nopack"))
Ejemplo n.º 5
0
def test_find_module_1():
    modpath = join(TMP_TEST_DIR, "xmod")
    assert mp.find_module("xmod") == modpath
Ejemplo n.º 6
0
def test_find_module_2():
    """Testing sys.path that is empty"""
    nt.assert_is_none(mp.find_module("xmod", []))
Ejemplo n.º 7
0
def test_find_module_4():
    """Testing sys.path that is empty"""
    nt.assert_is_none(mp.find_module(None))
Ejemplo n.º 8
0
def test_find_module_5():
    nt.assert_is_none(mp.find_module("xmod.nopack"))
Ejemplo n.º 9
0
def test_find_module_1():
    modpath = join(TMP_TEST_DIR, "xmod")
    nt.assert_equal(mp.find_module("xmod"), modpath)
Ejemplo n.º 10
0
def test_find_module_2():
    """Testing sys.path that is empty"""
    nt.assert_is_none(mp.find_module("xmod", []))
Ejemplo n.º 11
0
def test_find_module_4():
    """Testing sys.path that is empty"""
    nt.assert_is_none(mp.find_module(None))
Ejemplo n.º 12
0
def test_find_module_1():
    modpath = join(TMP_TEST_DIR, "xmod")
    nt.assert_equal(mp.find_module("xmod"), modpath)
Ejemplo n.º 13
0
def test_find_module_5():
    assert mp.find_module("xmod.nopack") is None
Ejemplo n.º 14
0
def test_find_module_4():
    """Testing sys.path that is empty"""
    assert mp.find_module(None) is None
Ejemplo n.º 15
0
def test_find_module_2():
    """Testing sys.path that is empty"""
    assert mp.find_module("xmod", []) is None
Ejemplo n.º 16
0
def test_find_module_1():
    modpath = join(TMP_TEST_DIR, "xmod")
    assert mp.find_module("xmod") == modpath