mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 07:53:43 +01:00
Split client/server tests
This allows disabling all client tests using a conftest.py file, if for example #56 gets merged and the server supports more python versions then the server. The server side tests are very incomplete.
This commit is contained in:
parent
3541e4bdfe
commit
d522d1e1bd
7
sshuttle/tests/server/test_server.py
Normal file
7
sshuttle/tests/server/test_server.py
Normal file
@ -0,0 +1,7 @@
|
||||
import sshuttle.server
|
||||
|
||||
|
||||
def test__ipmatch():
|
||||
assert sshuttle.server._ipmatch("1.2.3.4") is not None
|
||||
assert sshuttle.server._ipmatch("::1") is not None
|
||||
assert sshuttle.server._ipmatch("42 Example Street, Melbourne") is None
|
Loading…
Reference in New Issue
Block a user