Skip to content

Commit

Permalink
Merge pull request #92 from pgulley/user-profile
Browse files Browse the repository at this point in the history
Add user_profile test
  • Loading branch information
pgulley authored Aug 8, 2024
2 parents e02923f + 42ea566 commit e5234bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mediacloud/test/api_base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@ def test_token():
mc_api_key = os.getenv("MC_API_TOKEN")
_ = mediacloud.api.DirectoryApi(mc_api_key)
assert True

@staticmethod
def test_user_profile():
mc_api_key = os.getenv("MC_API_TOKEN")
client = mediacloud.api.DirectoryApi(mc_api_key)
_ = client.user_profile()
print(_)
assert True

0 comments on commit e5234bf

Please sign in to comment.