Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cootshk committed Nov 1, 2023
1 parent 442f4c8 commit 10a22f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
.vscode/*
.idea/*
.github/*
tests/*
.pytest_cache/*
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ def __eq__(self, other):
print(f"{Table(foo='bar', spam='eggs').dict = }") # {'foo': 'bar', 'spam': 'eggs'}
exit(0)

if __name__ == "__main__": # Unit tests
# Unit tests
def test_Table():
assert True, "Test 0 failed!"
assert repr(Table()) == "Table()", "Test 1 failed!"
assert repr(Table(1, 2, 3)) == "Table([1, 2, 3])", "Test 2 failed!"
Expand Down

0 comments on commit 10a22f7

Please sign in to comment.