Skip to content

Commit

Permalink
test(classes_test.py): add initial tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dobizz committed Nov 5, 2023
1 parent 2131b83 commit 513b5f6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/classes_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from pyplayht.classes import Client


def test_client():
client = Client()
# check for available methods
assert hasattr(client, "get_voices") and callable(client.get_voices)
assert hasattr(client, "new_conversion_job") and callable(
client.new_conversion_job,
)
assert hasattr(client, "get_coversion_job_status") and callable(
client.get_coversion_job_status,
)
assert hasattr(client, "download_file") and callable(client.download_file)

0 comments on commit 513b5f6

Please sign in to comment.