Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.pytest_cache
__pycache__
__pycache__
venv
19 changes: 18 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
import pytest

CAT_COLORS = ["orange", "tabby", "black", "white", "gray", "calico"]

def always_returns_true():
return False
print("I love my cat Percy!")
print("Percy is soft and fluffy")



print("How old is Percy?")
print("I wonder if Percy would be friends with my cat Bodhi!")

print("Percy would cower in fear")
return True

def kitty_power():
for cat in CAT_COLORS:
print(cat)

def test_always_returns_true():
assert always_returns_true()



print("Surprise! I changed this line!")