intial commit of tests, documentation
This commit is contained in:
12
tests/test_me.py
Normal file
12
tests/test_me.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from tests.base import BaseModelTestCase
|
||||
from unittest import TestCase
|
||||
from pyteamsnap.models import Me, User
|
||||
|
||||
|
||||
class TestMe(BaseModelTestCase, TestCase):
|
||||
def test_data(self):
|
||||
with self.cassette:
|
||||
instance = Me(self.client)
|
||||
self.assertIsInstance(instance, User)
|
||||
self.assertTrue(len(instance.data))
|
||||
pass
|
||||
Reference in New Issue
Block a user