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