intial commit of tests, documentation

This commit is contained in:
2022-11-05 13:53:37 -05:00
parent 9085c184bf
commit 852acafcae
115 changed files with 21599 additions and 1229 deletions

15
tests/test_user.py Normal file
View File

@@ -0,0 +1,15 @@
from tests.base import BaseModelTestCase
from unittest import TestCase
from pyteamsnap.models import User, Me
class TestUser(BaseModelTestCase, TestCase):
__test__ = True
TestClass = User
def test_data(self):
with self.cassette:
instance = Me(self.client)
self.assertIsInstance(instance, User)
self.assertTrue(len(instance.data))
pass