Skip to content

Commit

Permalink
Start to convert to use pytest
Browse files Browse the repository at this point in the history
touches #16
  • Loading branch information
notionparallax committed Apr 2, 2024
1 parent 90fc170 commit 75dce24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
8 changes: 6 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"python.formatting.provider": "black"
}
"python.testing.pytestArgs": ["../course/tests", "-rA"],
"python.testing.autoTestDiscoverOnSaveEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true
}
18 changes: 10 additions & 8 deletions set1/exercise1.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
"""Your very first python program!
"""Your very first python program!"""

TODO: write a python script that prints "Hello world!"

Look on the course website for how to do this, and for how to run the tests.
def hello():
"""
TODO: write a python script that prints "Hello world!"
Look on the course website for how to do this, and for how to run the tests.
https://design-computing.github.io/md/week1
"""
# πŸ‘‡πŸ‘‡ Write your code here πŸ‘‡πŸ‘‡

https://design-computing.github.io/md/week1
print("Hello world!")

"""
# πŸ‘‡πŸ‘‡ Write your code here πŸ‘‡πŸ‘‡
print("Hello world!")
# πŸ‘†πŸ‘† Write your code here πŸ‘†πŸ‘†
# πŸ‘†πŸ‘† Write your code here πŸ‘†πŸ‘†

0 comments on commit 75dce24

Please sign in to comment.