Skip to content

Commit d62e94a

Browse files
committed
Add pytest configuration and agent instructions
1 parent 35d3662 commit d62e94a

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@
2525
"source.fixAll": "explicit",
2626
"source.organizeImports": "explicit"
2727
}
28-
}
28+
},
29+
"python.testing.pytestArgs": [
30+
"."
31+
],
32+
"python.testing.unittestEnabled": false,
33+
"python.testing.pytestEnabled": true
2934
}

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pytest]
2+
testpaths = tests

tests/test_hello_world.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_hello_world():
2+
assert 1 + 1 == 2

0 commit comments

Comments
 (0)