Created
December 25, 2017 14:15
-
-
Save okusama27/2904c282c133ffbf028b992de48f0e9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
class SampleMethod(): | |
def method_1(self): | |
print('method_1') | |
return 'method_1' | |
def test_method_1(): | |
sample = SampleMethod() | |
print('test_method_1') | |
expected = 'method_1' | |
actual = sample.method_1() | |
assert actual == expected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment