示例#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)))
示例#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))))
示例#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))))