This commit is contained in:
prisar
2024-01-21 16:31:03 +05:30
parent b966f6485a
commit 7c0e740bd5
2 changed files with 11 additions and 1 deletions

9
tests/test_class_demo.py Normal file
View File

@@ -0,0 +1,9 @@
class TestClassDemoInstance:
value = 0
def test_one(self):
self.value = 1
assert self.value == 1
def test_two(self):
assert self.value != 1