Skip to content

Commit ff318e9

Browse files
committed
Regular imports
1 parent df727dc commit ff318e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_ExampleClass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pytest
2-
import generated.test_class
2+
from generated import test_class
33

44

55
@pytest.mark.parametrize("num1, num2, expected1, expected2", [
@@ -11,6 +11,6 @@
1111
def test_init(num1, num2, expected1, expected2):
1212
# Let's make a test with a tricky expectation.
1313
# When we initialize TestClass, we should subtract 1 from x and y.
14-
instance = generated.test_class.ExampleClass(num1, num2)
14+
instance = test_class.ExampleClass(num1, num2)
1515
assert instance.x == expected1
1616
assert instance.y == expected2

0 commit comments

Comments
 (0)