From a72478637ded7771857bd0126acbaed6c7ff51ad Mon Sep 17 00:00:00 2001 From: Mackenzie Grimes Date: Thu, 22 Jun 2023 15:19:41 -0600 Subject: [PATCH] rename couchdb/test_driver.py and rabbitmq/test_driver.py to avoid pytest conflict errors --- couchdb/test/run_test.sh | 2 +- couchdb/test/{test_driver.py => test_couchdb_driver.py} | 0 python/idsse_common/README.md | 4 ++-- rabbitmq/test/run_test.sh | 2 +- rabbitmq/test/{test_driver.py => test_rabbitmq_driver.py} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename couchdb/test/{test_driver.py => test_couchdb_driver.py} (100%) rename rabbitmq/test/{test_driver.py => test_rabbitmq_driver.py} (100%) diff --git a/couchdb/test/run_test.sh b/couchdb/test/run_test.sh index f1a9cd4e..20ccedfd 100755 --- a/couchdb/test/run_test.sh +++ b/couchdb/test/run_test.sh @@ -4,4 +4,4 @@ # [1] = couchdb server host name # [2] = couchdb client/server username # [3] = couchdb client/server password -python ./test_driver.py "couchtest" "idss" "idss" +python ./test_couchdb_driver.py "couchtest" "idss" "idss" diff --git a/couchdb/test/test_driver.py b/couchdb/test/test_couchdb_driver.py similarity index 100% rename from couchdb/test/test_driver.py rename to couchdb/test/test_couchdb_driver.py diff --git a/python/idsse_common/README.md b/python/idsse_common/README.md index 06f1c666..87c1d95d 100644 --- a/python/idsse_common/README.md +++ b/python/idsse_common/README.md @@ -72,7 +72,7 @@ Once installed elements from the package can be imported directly into code. For ### Python After installing the project's dependencies, make sure you have the [pytest-cov](https://pytest-cov.readthedocs.io/en/latest/config.html?highlight=missing#reference) plugin installed. -Run pytest coverage with the following CLI command. Note: the path argument can be removed to run all tests in the project. +Run pytest coverage with the following CLI command. Note: the path argument `=python` can be removed to run all tests in the project. ``` -pytest --cov=python/idsse_common python/idsse_common/test --cov-report=term-missing +pytest --cov=python --cov-report=term-missing ``` diff --git a/rabbitmq/test/run_test.sh b/rabbitmq/test/run_test.sh index b155cce5..5723dbfe 100755 --- a/rabbitmq/test/run_test.sh +++ b/rabbitmq/test/run_test.sh @@ -4,4 +4,4 @@ # [1] = rmq server host name # [2] = rmq client/server username # [3] = rmq client/server password -python ./test_driver.py "rmqtest" "idss" "password" +python ./test_rabbitmq_driver.py "rmqtest" "idss" "password" diff --git a/rabbitmq/test/test_driver.py b/rabbitmq/test/test_rabbitmq_driver.py similarity index 100% rename from rabbitmq/test/test_driver.py rename to rabbitmq/test/test_rabbitmq_driver.py