diff --git a/tests/unit/core/ModelsTest.py b/tests/unit/core/ModelsTest.py
index <HASH>..<HASH> 100644
--- a/tests/unit/core/ModelsTest.py
+++ b/tests/unit/core/ModelsTest.py
@@ -108,9 +108,7 @@ class ModelsTest:
         geo.clear()
         with LogCapture() as log:
             geo.regenerate_models(propnames=['pore.diameter'])
-        log.check(('root', 'WARNING', "pore.diameter was not run since the " +
-                   "following properties are missing: ['pore.max_size', " +
-                   "'pore.seed']"))
+        assert "['pore.max_size', 'pore.seed']" in log.actual()[0][2]
 
     def test_regenerate_models_on_phase_with_deep(self):
         pn = op.network.Cubic(shape=[5, 5, 5])
updating a test that broke due new logger format