Skip to content

Commit

Permalink
Implement and test some_untested_fn
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanondisponibile committed Jun 25, 2023
1 parent b44c8a2 commit 9565e9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/theboringlibrary/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ def do_nothing() -> None:
return NOTHING

def some_untested_fn() -> None:
...
"""It's actually tested now..."""
return do_nothing()
3 changes: 3 additions & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@

def test_do_nothing() -> None:
assert core.do_nothing() is None

def test_some_untested_fn() -> None:
assert core.some_untested_fn is None

0 comments on commit 9565e9f

Please sign in to comment.