File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ requires a few methods that are defined locally in the test file for each module
2929Monkeypatching
3030~~~~~~~~~~~~~~
3131At a minimum, monkeypatching will require these changes:
32- ``
32+
3333.. code-block :: python
3434
3535 class MockResponse (object ):
@@ -126,8 +126,10 @@ Running only the remote-data tests
126126
127127We should aim to have a reasonably complete test coverage for all the code using the
128128actual servers (as opposed to mocked tests). To check the remote-data test
129- coverage you can opt to run only those marked with ``remote_data ``:
129+ coverage you can opt to run only those marked with ``remote_data ``. Do
130+ remember to change ``<module_you_want_to_test> `` to the module name you
131+ actually work on:
130132
131133.. code-block :: bash
132134
133- pytest astroquery docs -m remote_data --remote-data=any --cov astroquery --cov-config=setup.cfg
135+ pytest -P < module_you_want_to_test > -m remote_data --remote-data=any --cov astroquery/ < module_you_want_to_test > --cov-config=setup.cfg
You can’t perform that action at this time.
0 commit comments