From 0d0e21452b87410028fb776f1ea9e7d1961603b5 Mon Sep 17 00:00:00 2001 From: Brady Planden Date: Fri, 17 May 2024 14:05:57 +0100 Subject: [PATCH] fix: name change for concistency, revert solution distribution shrink --- CHANGELOG.md | 2 +- ...est_parameterisations.py => test_spm_parameterisations.py} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename tests/integration/{test_parameterisations.py => test_spm_parameterisations.py} (99%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98150d4e6..c50224035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ codesigned binaries and source distributions via `sigstore-python`. ## Bug Fixes -- [#321](https://github.com/pybop-team/PyBOP/pull/321) - Improves `integration/test_parameterisation` stability. +- [#321](https://github.com/pybop-team/PyBOP/pull/321) - Improves `integration/test_spm_parameterisation.py` stability, adds flakly pytest plugin, and `test_thevenin_parameterisation.py` integration test. - [#330](https://github.com/pybop-team/PyBOP/issues/330) - Fixes implementation of default plotting options. - [#317](https://github.com/pybop-team/PyBOP/pull/317) - Installs seed packages into `nox` sessions, ensuring that scheduled tests can pass. - [#308](https://github.com/pybop-team/PyBOP/pull/308) - Enables testing on both macOS Intel and macOS ARM (Silicon) runners and fixes the scheduled tests. diff --git a/tests/integration/test_parameterisations.py b/tests/integration/test_spm_parameterisations.py similarity index 99% rename from tests/integration/test_parameterisations.py rename to tests/integration/test_spm_parameterisations.py index 341a9c41a..02ca9ef85 100644 --- a/tests/integration/test_parameterisations.py +++ b/tests/integration/test_spm_parameterisations.py @@ -6,7 +6,7 @@ import pybop -class TestParameterisation: +class Test_SPM_Parameterisation: """ A class to test the model parameterisation methods. """ @@ -14,7 +14,7 @@ class TestParameterisation: @pytest.fixture(autouse=True) def setup(self): self.ground_truth = np.array([0.55, 0.55]) + np.random.normal( - loc=0.0, scale=0.04, size=2 + loc=0.0, scale=0.05, size=2 ) @pytest.fixture