def test_check_size_multiple(self): '''utils.check_size, multiple files''' self.assertTrue(check_size(TEST_MAX_SIZE, TEST_FILES[2])) self.assertFalse(check_size(TEST_SINGLE_SIZE, *TEST_FILES))
def test_check_size(self): '''utils.check_size, single file''' self.assertTrue(check_size(TEST_MAX_SIZE, TEST_FILES[2])) self.assertFalse(check_size(666, TEST_FILES[2]))