Mention that class variables are shared between tests

Close #8252
This commit is contained in:
Christian Steinmeyer 2021-01-25 16:02:59 +01:00 committed by GitHub
parent f3efc4e049
commit 781b73bb52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,8 @@ This is outlined below:
FAILED test_class_demo.py::TestClassDemoInstance::test_two - assert 0 FAILED test_class_demo.py::TestClassDemoInstance::test_two - assert 0
2 failed in 0.12s 2 failed in 0.12s
Note that attributes added at class level are *class attributes*, so they will be shared between tests.
Request a unique temporary directory for functional tests Request a unique temporary directory for functional tests
-------------------------------------------------------------- --------------------------------------------------------------