Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Small integration test.
  • Loading branch information
mkucharz committed Jun 1, 2016
commit 5afcc01a327dcd04a15fbe8c2344a824a0b6503e
4 changes: 4 additions & 0 deletions tests/integration_test_user_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def test_profile(self):
'{}UserProfileObject'.format(self.instance.name.title())
)

def test_auth(self):
self.assertTrue(self.user.profile)
self.assertTrue(User().auth())

def test_profile_klass(self):
klass = self.user.profile.get_class_object()
self.assertTrue(klass)
Expand Down