Commits

estin  committed 5334a8b

fix tests

  • Participants
  • Parent commits fb3aaf1

Comments (0)

Files changed (1)

File tests/test_describe.py

                 .describe([model.User, model.Address])
 
         assert len(objects) == 2
+        assert objects[1] == {
+                'name': model.Address.__name__,
+                'attributes': [('Integer', 'id'), ('Integer', 'user_id'), ],
+                'methods': [],
+            }
+
         assert len(inherits) == 0
         assert relations[0] == {
                 'from': model.Address.__name__,