Пример #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'
Пример #2
0
 def test_interest(self):
     """Test the dashboard Interest model."""
     profile = Profile(
         handle='foo',
     )
     interest = Interest(
         profile=profile,
     )
     assert str(interest) == 'foo'