From 80b1ce61c91d173829dc4b130a2b5b4fbec76424 Mon Sep 17 00:00:00 2001 From: codl Date: Mon, 27 Nov 2017 17:12:46 +0100 Subject: [PATCH] move test credential files to /tests/ i didnt even realise i put them there whoops --- access.credentials => tests/access.credentials | 0 client.credentials => tests/client.credentials | 0 tests/test_constructor.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename access.credentials => tests/access.credentials (100%) rename client.credentials => tests/client.credentials (100%) diff --git a/access.credentials b/tests/access.credentials similarity index 100% rename from access.credentials rename to tests/access.credentials diff --git a/client.credentials b/tests/client.credentials similarity index 100% rename from client.credentials rename to 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 def test_constructor_from_filenames(): api = Mastodon( - 'client.credentials', - access_token = 'access.credentials') + 'tests/client.credentials', + access_token = 'tests/access.credentials') assert api.client_id == 'foo' assert api.client_secret == 'bar' assert api.access_token == 'baz'