summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2016-03-02 18:38:43 +1100
committerBrian May <brian@linuxpenguins.xyz>2016-03-02 18:38:43 +1100
commite8047ce3a9fd3476f1ada0b3bdd78b4016d622c7 (patch)
tree7cca3581f27c3dd2fc61701bbff4c658a883b713
parentfae4cb1dbf012a71504a4f03ec566ac278b66906 (diff)
Fixed Python 3 issue
-rw-r--r--sshuttle/tests/test_methods_pf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshuttle/tests/test_methods_pf.py b/sshuttle/tests/test_methods_pf.py
index 61d719e..b12cdf5 100644
--- a/sshuttle/tests/test_methods_pf.py
+++ b/sshuttle/tests/test_methods_pf.py
@@ -192,7 +192,7 @@ def test_setup_firewall_darwin(mock_pf_get_dev, mock_ioctl, mock_pfctl):
call(mock_pf_get_dev(), 0xCC20441A, ANY),
]
assert mock_pfctl.mock_calls == [
- call('-f /dev/stdin', 'pass on lo\n'),
+ call('-f /dev/stdin', b'pass on lo\n'),
call('-s all'),
call('-a sshuttle -f /dev/stdin',
b'table <forward_subnets> {!1.2.3.66/32,1.2.3.0/24}\n'