adding main

This commit is contained in:
AmariBolmer
2024-10-21 19:08:13 -07:00
parent 248aa50d43
commit 00148aa9ac
8 changed files with 1 additions and 2 deletions

1
example_usage_api.py Normal file → Executable file
View File

@@ -26,4 +26,3 @@ def main():
if __name__ == "__main__":
main()

0
poke_sdk/PokeAPI.py Normal file → Executable file
View File

0
poke_sdk/__init__.py Normal file → Executable file
View File

0
poke_sdk/api_client.py Normal file → Executable file
View File

0
poke_sdk/exceptions.py Normal file → Executable file
View File

0
poke_sdk/models.py Normal file → Executable file
View File

0
requirements.txt Normal file → Executable file
View File

2
tests/test_poke_api.py Normal file → Executable file
View File

@@ -26,6 +26,6 @@ class TestPokeAPI(unittest.TestCase):
with self.assertRaises(APIError):
self.api.get_generation("invalid_id")
#adding main
if __name__ == '__main__':
unittest.main()