def test_iglob(): filepatt = os.path.join(TEST_RESOURCES_CHECKS, '*.py') assert sn.count(sn.iglob(filepatt)) assert sn.count(sn.iglob(sn.defer(filepatt)))
def test_iglob(self): filepatt = os.path.join(TEST_RESOURCES, '*.py') self.assertTrue(sn.count(sn.iglob(filepatt))) self.assertTrue(sn.count(sn.iglob(make_deferrable(filepatt))))
def test_iglob(self): filepatt = os.path.join(TEST_RESOURCES_CHECKS, '*.py') self.assertTrue(sn.count(sn.iglob(filepatt))) self.assertTrue(sn.count(sn.iglob(sn.defer(filepatt))))