| Conditions | 3 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import unittest |
||
| 15 | def generate_soupelement_tests(self): |
||
| 16 | """Generate test methods to check valid URLS""" |
||
| 17 | for key, url in constants.URL_MAPPER.iteritems(): |
||
| 18 | testmethodname = 'test_fn_{0}'.format(key) |
||
| 19 | testmethod = lambda self: self.assertEqual(key, key) |
||
| 20 | setattr(TestSmartPrice, testmethodname, testmethod) |
||
| 21 | |||
| 32 |