diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index 31b1ac8..c8e310a 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -116,7 +116,7 @@ jobs: - name: Test module --version works using the installed wheel # If more than one module in src/ replace with module name to test - run: python -m $(ls src | head -1) --version + run: python -m $(ls src | grep -v egg-info | head -1) --version container: needs: [lint, dist, test] @@ -212,4 +212,4 @@ jobs: with: password: ${{ secrets.PYPI_TOKEN }} -# dae_devops_fingerprint d05711f3373ed522dc9b751401a29c68 +# dae_devops_fingerprint f051e2d0b0a34c4a8593c9e0436087ec diff --git a/tests/conftest.py b/tests/conftest.py index 27ba289..ed9be81 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -5,7 +5,7 @@ import pytest # Formatting of testing log messages. -from dls_logformatter.dls_logformatter import DlsLogform +from dls_logformatter.dls_logformatter import DlsLogformatter logger = logging.getLogger(__name__) @@ -24,7 +24,7 @@ def constants(request): def logging_setup(): # print("") - formatter = DlsLogform(type="long") + formatter = DlsLogformatter(type="long") logger = logging.StreamHandler() logger.setFormatter(formatter) logging.getLogger().addHandler(logger)