Skip to content

Commit d22a6e7

Browse files
authored
CFMTech#31 - Changing option for sending results to remote server in order t… (CFMTech#32)
* CFMTech#31 - Rename option for sending results to remote server in order to avoid collisions
1 parent 319e004 commit d22a6e7

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

docs/sources/changelog.rst

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Changelog
33
=========
44

5+
* :release:`1.5.1 <2021-02-05>`
6+
* :bug:`#31` Rename option --remote as it seems to conflict with some plugins.
7+
58
* :release:`1.5.0 <2020-11-20>`
69
* :feature:`25` Automatically gather CI build information (supported CI are Drone CI, Gitlab CI, Jenkins CI, Travis CI, Circle CI)
710
* :bug:`#23 major` psutil min requirement is now 5.1.0

docs/sources/exploitation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ your Metrics and Execution Context (see below):
2424

2525
.. code-block:: shell
2626
27-
pytest --remote server:port
27+
pytest --remote-server server:port
2828
2929
Execution Context, Metrics and Session
3030
--------------------------------------

docs/sources/remote.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ To do so, instruct pytest with the remote server address to use:
77

88
.. code-block:: shell
99
10-
bash $> pytest --remote myremote.server.net:port
10+
bash $> pytest --remote-server myremote.server.net:port
1111
1212
This way, *pytest-monitor* will automatically send and query the remote server as soon as it gets
1313
a need. Note that *pytest-monitor* will revert to a normal behaviour if:

pytest_monitor/pytest_monitor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def pytest_addoption(parser):
3131
help='Set this option to distinguish parametrized tests given their values.'
3232
' This requires the parameters to be stringifiable.')
3333
group.addoption('--no-monitor', action='store_true', dest='mtr_none', help='Disable all traces')
34-
group.addoption('--remote', action='store', dest='mtr_remote',
34+
group.addoption('--remote-server', action='store', dest='mtr_remote',
3535
help='Remote server to send the results to. Format is <ADRESS>:<PORT>')
3636
group.addoption('--db', action='store', dest='mtr_db_out', default='.pymon',
3737
help='Use the given sqlite database for storing results.')

0 commit comments

Comments
 (0)