From dfd9f7c843c7cd5100e939d835205a9fd0682b0b Mon Sep 17 00:00:00 2001 From: Chase Schelthoff Date: Tue, 15 Nov 2022 20:03:27 -0500 Subject: [PATCH] 0.0.4 and small formatting update --- setup.py | 2 +- tests/__init__.py | 1 - tests/test_hiscore_api.py | 6 +++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 5e7dc31..d9622d3 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="python_osrsapi", - version="0.0.3", + version="0.0.4", author="Chasesc", description="Oldschool Runescape API wrapper", long_description=long_description, diff --git a/tests/__init__.py b/tests/__init__.py index f87f5c1..e69de29 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1 +0,0 @@ -# TODO \ No newline at end of file diff --git a/tests/test_hiscore_api.py b/tests/test_hiscore_api.py index b4c4442..9f39ec8 100644 --- a/tests/test_hiscore_api.py +++ b/tests/test_hiscore_api.py @@ -6,7 +6,11 @@ class TestHiscore(unittest.TestCase): def test_api_length(self): - """Check to see if the API returns the same number of skills, minigames, and bosses that are mentioned in const.py. If this test fails, the items in const.py need to be updated.""" + """ + Check to see if the API returns the same number of skills, minigames, and bosses + that are mentioned in const.py. If this test fails, the items in const.py + need to be updated. + """ score = Hiscores(username="Lelalt") expected_num_api_elements = SKILLS_AMT + MINIGAMES_AMT + BOSSES_AMT api_data = score._get_api_data()