Skip to content

Commit fa414be

Browse files
committed
0.2.6
- passes all additional arguments to py-develop to setuptools
1 parent ea8a95f commit fa414be

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def long_description():
3232

3333
setup(
3434
name="pypackage",
35-
version="0.2.5",
35+
version="0.2.6",
3636
author="Adam Talsma",
3737
author_email="[email protected]",
3838
url="http://ccpgames.github.io/pypackage",

test/test_commands.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ def test_run_develop():
2727
with mock.patch.object(commands, "pypackage_setup") as patched_setup:
2828
commands.develop()
2929

30-
patched_setup.assert_called_once_with(
31-
["develop"],
32-
additional=commands.develop.__doc__,
33-
)
30+
mock_call = patched_setup.mock_calls[0]
31+
assert mock_call[1][0] == ["develop", "test"]
32+
assert mock_call[1][-1] == commands.develop.__doc__
3433

3534

3635
@pytest.mark.parametrize("flag", ("s", "m"), ids=("setup", "metadata"))

0 commit comments

Comments
 (0)