diff options
author | codl <[email protected]> | 2017-11-27 17:12:46 +0100 |
---|---|---|
committer | codl <[email protected]> | 2017-11-27 17:13:54 +0100 |
commit | 80b1ce61c91d173829dc4b130a2b5b4fbec76424 (patch) | |
tree | c94dd7fa4941142f85a47d1d155df09ad81b107a | |
parent | cfc6ecc908d102e7886d37ea1f64dd7ec6e2c047 (diff) | |
download | mastodon.py-80b1ce61c91d173829dc4b130a2b5b4fbec76424.tar.gz |
move test credential files to /tests/
i didnt even realise i put them there whoops
-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' |