Skip to content

Commit

Permalink
Updated pytest to include pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Oct 13, 2024
1 parent acd5252 commit 3194069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def setup_method(self):
self.gt_topics = [["chilling"], ["steak"], ["steak"]]

# add toy data for testing
self.postly_instance.add_user("john")
self.postly_instance.add_user("john", "password")
for post in self.gt_posts:
self.postly_instance.add_post("john", post)

Expand Down Expand Up @@ -47,7 +47,7 @@ def test_get_trending_topics(self):

def test_delete_user(self):
temporary_postly_instance = PostlyClient()
temporary_postly_instance.add_user("simon")
temporary_postly_instance.add_user("simon", "password")
temporary_postly_instance.add_post("simon", "just #coding today")

assert "simon" in temporary_postly_instance.userPosts
Expand Down

0 comments on commit 3194069

Please sign in to comment.