diff --git a/data/lms.log b/doc/lms.log similarity index 100% rename from data/lms.log rename to doc/lms.log diff --git a/data/get_user_details.json b/tests/data/get_user_details.json similarity index 100% rename from data/get_user_details.json rename to tests/data/get_user_details.json diff --git a/data/get_user_details_extended.json b/tests/data/get_user_details_extended.json similarity index 100% rename from data/get_user_details_extended.json rename to tests/data/get_user_details_extended.json diff --git a/data/wp-oauth-me.json b/tests/data/wp-oauth-me.json similarity index 100% rename from data/wp-oauth-me.json rename to tests/data/wp-oauth-me.json diff --git a/data/wp-oauth-response-expired-token.json b/tests/data/wp-oauth-response-expired-token.json similarity index 100% rename from data/wp-oauth-response-expired-token.json rename to tests/data/wp-oauth-response-expired-token.json diff --git a/data/wp-oauth-response.json b/tests/data/wp-oauth-response.json similarity index 100% rename from data/wp-oauth-response.json rename to tests/data/wp-oauth-response.json diff --git a/data/tests.py b/tests/tests.py similarity index 95% rename from data/tests.py rename to tests/tests.py index 2e1d211..5903c8d 100644 --- a/data/tests.py +++ b/tests/tests.py @@ -1,7 +1,7 @@ import json # Opening JSON file -f = open("get_user_details_extended.json") +f = open("./data/get_user_details_extended.json") # returns JSON object as # a dictionary