add test class

This commit is contained in:
Pritimay Sarkar
2024-01-17 15:39:23 +05:30
parent 637c0600a7
commit 0449c0cf9e

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