Skip to content

Commit

Permalink
Add exclude unit tests for Python [#28]
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Jun 21, 2023
1 parent 662b0c6 commit aa500ac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/tests/test_port4me.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
from port4me import port4me

def test_alice():
assert port4me('', 'alice') == 30845


def test_alice():
assert port4me('', 'alice', list=1) == [30845]


def test_alice():
assert port4me('', 'alice', list=5) == [30845, 19654, 32310, 63992, 15273]

Expand All @@ -9,6 +16,10 @@ def test_alice_tool():
assert port4me('jupyter-notebook', 'alice', list=1) == [29525]


def test_alice_exclude():
assert port4me('', 'alice', exclude=[30845, 32310]) == 19654


def test_alice_prepend():
assert port4me('', 'alice', list=5, prepend=[9876, 5432]) == [9876, 5432, 30845, 19654, 32310]

Expand Down

0 comments on commit aa500ac

Please sign in to comment.