def testUrlPatterns(self):
        pats = make_urlpatterns()
        self.assertTrue(0 > len(pats))

# class TestGenerateCode(TestCase):
#
#     def testGetCode(self):
#         c = generate_code(alphabet, '^^^^')
#
#         self.assertEqual(len(c), 4)
#
#         for ch in c:
#             self.assert_(ch in alphabet)
#
#     def testGetCode2(self):
#         c = generate_code(alphabet, '^^^^-^^^^')
#         c2 = generate_code(alphabet, '^^^^-^^^^')
#         self.assertNotEqual(c,c2)
#
#     def testFormat(self):
#         c = generate_code(alphabet, '^-^-^-^')
#         for i in (0,2,4,6):
#             self.assert_(c[i] in alphabet)
#         for i in (1,3,5):
#             self.assertEqual(c[i], '-')

# class TestGenerateCertificateCode(TestCase):
#     def setUp(self):
#         self.charset = config_value('PAYMENT_PAYMENT_GIFTCERTIFICATE', 'CHARSET')
#         self.format = config_value('PAYMENT_PAYMENT_GIFTCERTIFICATE', 'FORMAT')
#
#     def testGetCode(self):
#         c = generate_certificate_code()
#         self.assertEqual(len(c), len(self.format))
#
#         chars = [x for x in self.format if not x=='^']
#         chars.extend(self.charset)
#         for ch in c:
#             self.assert_(ch in chars)
#
# class TestCertCreate(TestCase):
#     def testCreate(self):
#         gc = GiftCertificate(start_balance = '100.00')
#         gc.save()
#
#         self.assert_(gc.code)
#         self.assertEqual(gc.balance, Decimal('100.00'))
#
#     def testUse(self):
#         gc = GiftCertificate(start_balance = '100.00')
#         gc.save()
#         bal = gc.use('10.00')
#         self.assertEqual(bal, Decimal('90.00'))
#         self.assertEqual(gc.usages.count(), 1)
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/payment/tests.py/TestModulesSettings.testUrlPatterns/swapped operands of `>`