mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
[soc2010/test-refactor] update expressions test to use unittest2 assertItemsEqual
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c298937c94
commit
dfd3da2853
@ -8,10 +8,6 @@ from models import Employee, Company
|
||||
class ExpressionsTestCase(TestCase):
|
||||
fixtures = ['f_expression_testdata.json']
|
||||
|
||||
def assertItemsEqual(self, a, b):
|
||||
#fixme, replace with unittest2 function
|
||||
return self.assertEqual(sorted(a), sorted(b))
|
||||
|
||||
def test_basic_f_expression(self):
|
||||
company_query = Company.objects.values('name','num_employees',
|
||||
'num_chairs'
|
||||
|
Loading…
x
Reference in New Issue
Block a user