diff --git a/tests/modules/test_environmemt.py b/tests/modules/test_environmemt.py index 3271ce5..c7b0121 100644 --- a/tests/modules/test_environmemt.py +++ b/tests/modules/test_environmemt.py @@ -4,21 +4,21 @@ import rich def test_wasInitialised(): testenv = e.environment() - for k in testenv.wasInitialised.values(): + for k in testenv._wasInitialised.values(): assert k is False def test_integritycheck(): testcheck = e.environment() - customtest_p = [p for p in testcheck.mParams.keys()] - customtest_v = [False for p in testcheck.mParams.values()] + customtest_p = [p for p in testcheck._mParams.keys()] + customtest_v = [False for p in testcheck._mParams.values()] # Test all False # rich.inspect(testcheck) assert testcheck.integritycheck() is False customtest_v[0] = True - testcheck.wasInitialised = dict(zip(customtest_p, customtest_v)) + testcheck._wasInitialised = dict(zip(customtest_p, customtest_v)) # Test first False # rich.inspect(testcheck) @@ -26,7 +26,7 @@ def test_integritycheck(): customtest_v[0] = False customtest_v[-1] = True - testcheck.wasInitialised = dict(zip(customtest_p, customtest_v)) + testcheck._wasInitialised = dict(zip(customtest_p, customtest_v)) # Test last False # rich.inspect(testcheck) @@ -34,14 +34,14 @@ def test_integritycheck(): customtest_v[-1] = False customtest_v[len(customtest_v)//2-1] = True - testcheck.wasInitialised = dict(zip(customtest_p, customtest_v)) + testcheck._wasInitialised = dict(zip(customtest_p, customtest_v)) # Test middle False # rich.inspect(testcheck) assert testcheck.integritycheck() is False - customtest_v = [True for p in testcheck.mParams.values()] - testcheck.wasInitialised = dict(zip(customtest_p, customtest_v)) + customtest_v = [True for p in testcheck._mParams.values()] + testcheck._wasInitialised = dict(zip(customtest_p, customtest_v)) # Test all True # rich.inspect(testcheck)