Esempio n. 1
0
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)))
Esempio n. 2
0
 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))))
Esempio n. 3
0
 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))))