From 290ba94cbc652973be4935c999c804881c3ef21b Mon Sep 17 00:00:00 2001 From: Steph Merritt Date: Tue, 3 Sep 2024 13:17:24 +0100 Subject: [PATCH] Fixing unit tests --- tests/activity/test_activity_registration.py | 2 ++ tests/lightcurves/test_lightcurve_registration.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/activity/test_activity_registration.py b/tests/activity/test_activity_registration.py index 418c6e97..7657b53d 100644 --- a/tests/activity/test_activity_registration.py +++ b/tests/activity/test_activity_registration.py @@ -10,6 +10,8 @@ def test_register_subclasses(): output = register_activity_subclasses() + update_activity_subclasses() # if sorcha-addons is installed we need to update the subclasses + assert output == CA_METHODS diff --git a/tests/lightcurves/test_lightcurve_registration.py b/tests/lightcurves/test_lightcurve_registration.py index 261d5e9b..b9b6ed5e 100644 --- a/tests/lightcurves/test_lightcurve_registration.py +++ b/tests/lightcurves/test_lightcurve_registration.py @@ -10,6 +10,8 @@ def test_register_subclasses(): output = register_lc_subclasses() + update_lc_subclasses() # if sorcha-addons is installed we need to update the subclasses + assert output == LC_METHODS