diff options
-rw-r--r-- | tests/access.credentials (renamed from access.credentials) | 0 | ||||
-rw-r--r-- | tests/client.credentials (renamed from client.credentials) | 0 | ||||
-rw-r--r-- | tests/test_constructor.py | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/access.credentials b/tests/access.credentials index 7601807..7601807 100644 --- a/access.credentials +++ b/tests/access.credentials | |||
diff --git a/client.credentials b/tests/client.credentials index 3bd1f0e..3bd1f0e 100644 --- a/client.credentials +++ b/tests/client.credentials | |||
diff --git a/tests/test_constructor.py b/tests/test_constructor.py index 720f58d..fac3763 100644 --- a/tests/test_constructor.py +++ b/tests/test_constructor.py | |||
@@ -4,8 +4,8 @@ from mastodon.Mastodon import MastodonIllegalArgumentError | |||
4 | 4 | ||
5 | def test_constructor_from_filenames(): | 5 | def test_constructor_from_filenames(): |
6 | api = Mastodon( | 6 | api = Mastodon( |
7 | 'client.credentials', | 7 | 'tests/client.credentials', |
8 | access_token = 'access.credentials') | 8 | access_token = 'tests/access.credentials') |
9 | assert api.client_id == 'foo' | 9 | assert api.client_id == 'foo' |
10 | assert api.client_secret == 'bar' | 10 | assert api.client_secret == 'bar' |
11 | assert api.access_token == 'baz' | 11 | assert api.access_token == 'baz' |