diff --git a/custom_components/enphase_envoy/envoy_reader.py b/custom_components/enphase_envoy/envoy_reader.py index 3c0037c..0f473da 100644 --- a/custom_components/enphase_envoy/envoy_reader.py +++ b/custom_components/enphase_envoy/envoy_reader.py @@ -47,7 +47,7 @@ ENLIGHTEN_LOGIN_URL = "https://entrez.enphaseenergy.com/login" ENDPOINT_URL_GET_JWT = "https://{}/auth/get_jwt" -TEST_DATA_FOLDER = os.path.join(os.path.dirname(__file__), "test_data") +TEST_DATA_FOLDER = os.path.join(os.path.dirname(__file__), "../../test_data") _LOGGER = logging.getLogger(__name__) diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_consumption_report.json b/test_data/envoy_metered/endpoint_consumption_report.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_consumption_report.json rename to test_data/envoy_metered/endpoint_consumption_report.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_devstatus.json b/test_data/envoy_metered/endpoint_devstatus.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_devstatus.json rename to test_data/envoy_metered/endpoint_devstatus.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_home_json_results.json b/test_data/envoy_metered/endpoint_home_json_results.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_home_json_results.json rename to test_data/envoy_metered/endpoint_home_json_results.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_info_results.xml b/test_data/envoy_metered/endpoint_info_results.xml similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_info_results.xml rename to test_data/envoy_metered/endpoint_info_results.xml diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_inventory_results.json b/test_data/envoy_metered/endpoint_inventory_results.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_inventory_results.json rename to test_data/envoy_metered/endpoint_inventory_results.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_pdm_energy.json b/test_data/envoy_metered/endpoint_pdm_energy.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_pdm_energy.json rename to test_data/envoy_metered/endpoint_pdm_energy.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_inverters.json b/test_data/envoy_metered/endpoint_production_inverters.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_inverters.json rename to test_data/envoy_metered/endpoint_production_inverters.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_json_results.json b/test_data/envoy_metered/endpoint_production_json_results.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_json_results.json rename to test_data/envoy_metered/endpoint_production_json_results.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_power.json b/test_data/envoy_metered/endpoint_production_power.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_power.json rename to test_data/envoy_metered/endpoint_production_power.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_report.json b/test_data/envoy_metered/endpoint_production_report.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_report.json rename to test_data/envoy_metered/endpoint_production_report.json diff --git a/custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_v1_results.json b/test_data/envoy_metered/endpoint_production_v1_results.json similarity index 100% rename from custom_components/enphase_envoy/test_data/envoy_metered/endpoint_production_v1_results.json rename to test_data/envoy_metered/endpoint_production_v1_results.json