Updated pytest to include pwd
Browse files- tests/test_plotly.py +2 -2
tests/test_plotly.py
CHANGED
@@ -10,7 +10,7 @@ class TestPlotlyClient:
|
|
10 |
self.gt_topics = [["chilling"], ["steak"], ["steak"]]
|
11 |
|
12 |
# add toy data for testing
|
13 |
-
self.postly_instance.add_user("john")
|
14 |
for post in self.gt_posts:
|
15 |
self.postly_instance.add_post("john", post)
|
16 |
|
@@ -47,7 +47,7 @@ class TestPlotlyClient:
|
|
47 |
|
48 |
def test_delete_user(self):
|
49 |
temporary_postly_instance = PostlyClient()
|
50 |
-
temporary_postly_instance.add_user("simon")
|
51 |
temporary_postly_instance.add_post("simon", "just #coding today")
|
52 |
|
53 |
assert "simon" in temporary_postly_instance.userPosts
|
|
|
10 |
self.gt_topics = [["chilling"], ["steak"], ["steak"]]
|
11 |
|
12 |
# add toy data for testing
|
13 |
+
self.postly_instance.add_user("john", "password")
|
14 |
for post in self.gt_posts:
|
15 |
self.postly_instance.add_post("john", post)
|
16 |
|
|
|
47 |
|
48 |
def test_delete_user(self):
|
49 |
temporary_postly_instance = PostlyClient()
|
50 |
+
temporary_postly_instance.add_user("simon", "password")
|
51 |
temporary_postly_instance.add_post("simon", "just #coding today")
|
52 |
|
53 |
assert "simon" in temporary_postly_instance.userPosts
|