Beispiel #1
0
 def test_interest():
     """Test the dashboard Interest model."""
     profile = Profile(
         handle='foo',
     )
     interest = Interest(
         profile=profile,
     )
     assert str(interest) == 'foo / pending: False / status: okay'
 def test_interest(self):
     """Test the dashboard Interest model."""
     profile = Profile(
         handle='foo',
     )
     interest = Interest(
         profile=profile,
     )
     assert str(interest) == 'foo'