Fixed unit tests
Browse files- tests/test_plotly.py +3 -3
tests/test_plotly.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
from postly.clients import PostlyClient
|
2 |
|
3 |
|
4 |
-
class
|
5 |
def setup_method(self):
|
6 |
self.postly_instance = PostlyClient()
|
7 |
|
@@ -50,7 +50,7 @@ class TestYodelrSystem:
|
|
50 |
assert trending_topics == ["steak"]
|
51 |
|
52 |
def test_delete_user(self):
|
53 |
-
temporary_postly_instance =
|
54 |
temporary_postly_instance.add_user("simon")
|
55 |
temporary_postly_instance.add_post("simon", "just #coding today", 1)
|
56 |
|
|
|
1 |
+
from postly.clients.postly_client import PostlyClient
|
2 |
|
3 |
|
4 |
+
class TestPlotlyClient:
|
5 |
def setup_method(self):
|
6 |
self.postly_instance = PostlyClient()
|
7 |
|
|
|
50 |
assert trending_topics == ["steak"]
|
51 |
|
52 |
def test_delete_user(self):
|
53 |
+
temporary_postly_instance = PostlyClient()
|
54 |
temporary_postly_instance.add_user("simon")
|
55 |
temporary_postly_instance.add_post("simon", "just #coding today", 1)
|
56 |
|