add test class
This commit is contained in:
9
tests/test_class_demo.py
Normal file
9
tests/test_class_demo.py
Normal 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
|
||||
Reference in New Issue
Block a user