From b1b9bc4ce2ec65eb6053b6085377ed1adf537c9c Mon Sep 17 00:00:00 2001 From: c0de Date: Sun, 11 Mar 2018 22:02:10 -0500 Subject: [PATCH] Use get_meta instead of str and see if that works --- account/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account/tests.py b/account/tests.py index c0a6a03..3496b4e 100644 --- a/account/tests.py +++ b/account/tests.py @@ -27,5 +27,5 @@ class AccountTestCase(TestCase): usr_acct1 = Account.objects.get(user=usr1) usr2 = User.objects.get(username='usr2') usr_acct2 = Account.objects.get(user=usr2) - self.assertEqual(usr_acct1.__str__(), {'user': 'usr1', 'first_login': True, 'accepted_terms': None}) - self.assertEqual(usr_acct2.__str__(), {'user': 'usr2', 'first_login': True, 'accepted_terms': None}) + self.assertEqual(usr_acct1.get_meta(), {'user': 'usr1', 'first_login': True, 'accepted_terms': None}) + self.assertEqual(usr_acct2.get_meta(), {'user': 'usr2', 'first_login': True, 'accepted_terms': None})