equal
deleted
inserted
replaced
41 return 'Int' |
41 return 'Int' |
42 |
42 |
43 class MakeDescriptionTC(TestCase): |
43 class MakeDescriptionTC(TestCase): |
44 def test_known_values(self): |
44 def test_known_values(self): |
45 solution = {'A': 'Int', 'B': 'CWUser'} |
45 solution = {'A': 'Int', 'B': 'CWUser'} |
46 self.assertEquals(_make_description((Function('max', 'A'), Variable('B')), {}, solution), |
46 self.assertEqual(_make_description((Function('max', 'A'), Variable('B')), {}, solution), |
47 ['Int','CWUser']) |
47 ['Int','CWUser']) |
48 |
48 |
49 class InternalSessionTC(CubicWebTC): |
49 class InternalSessionTC(CubicWebTC): |
50 def test_dbapi_query(self): |
50 def test_dbapi_query(self): |
51 session = self.repo.internal_session() |
51 session = self.repo.internal_session() |