def test_get_init_4(): """get_init can't find __init__ in empty testdir""" assert mp.get_init(TMP_TEST_DIR) is None
def test_get_init_2(): """See if get_init can find __init__.pyw in this testdir""" with make_tempfile(join(TMP_TEST_DIR, "__init__.pyw")): assert mp.get_init(TMP_TEST_DIR)
def test_get_init_3(): """get_init can't find __init__.pyc in this testdir""" with make_tempfile(join(TMP_TEST_DIR, "__init__.pyc")): assert mp.get_init(TMP_TEST_DIR) is None
def test_get_init_4(): """get_init can't find __init__ in empty testdir""" nt.assert_is_none(mp.get_init(TMP_TEST_DIR))
def test_get_init_3(): """get_init can't find __init__.pyc in this testdir""" with make_tempfile(join(TMP_TEST_DIR, "__init__.pyc")): nt.assert_is_none(mp.get_init(TMP_TEST_DIR))