Skip to content

Commit e8bfd57

Browse files
author
Josh Bailey
committed
Merge branch 'master' of ssh://github.com/anarkiwi/faucet
2 parents 85e4dc1 + b75b652 commit e8bfd57

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

debian/control

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Depends: python3-oslo.config (>= 1:3.9~),
2727
python3-prometheus-client (>= 0.0.18),
2828
python3-yaml (>= 3.1.1),
2929
python3-ryu (= 4.22),
30+
python3-beka (>=0.3.3),
3031
python3:any (>= 3.4~),
3132
Suggests: python-faucet-doc, faucet, gauge, oslo.config,
3233
Description: source code for faucet and gauge (Python3)

docs/testing.rst

+16-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Running the tests
150150
-v /tmp:/tmp \
151151
-ti faucet/tests
152152
153-
Running a single test
153+
Running a single test including pytype, linting, and documentation
154154
~~~~~~~~~~~~~~~~~~~~~
155155

156156
.. code:: console
@@ -175,6 +175,21 @@ in order to complete a faucet test suite run against hardware quicker.
175175
-v /tmp:/tmp \
176176
-ti faucet/tests
177177
178+
Running only a single integration test
179+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180+
181+
Sometimes you will want to skip the pytype, linting and documenation tests
182+
and simply run a single integration test. Optionally ``-k`` will also save
183+
the results.
184+
185+
.. code:: console
186+
187+
sudo docker run --privileged --net=host \
188+
-e FAUCET_TESTS="-i -n -k FaucetUntaggedLLDPTest" \
189+
-v /etc/faucet:/etc/faucet \
190+
-v /tmp:/tmp \
191+
-ti faucet/tests
192+
178193
Checking test results
179194
~~~~~~~~~~~~~~~~~~~~~
180195

0 commit comments

Comments
 (0)