Beispiel #1
0
 def test_raises_notimplementederror(self):
     with pytest.raises(NotImplementedError):
         BSDNetworking().is_physical("eth0")
Beispiel #2
0
 def test_raises_notimplementederror(self):
     with pytest.raises(NotImplementedError):
         BSDNetworking().try_set_link_up("eth0")
Beispiel #3
0
 def test_settle_doesnt_error(self):
     # This also implicitly tests that it doesn't use subp.subp
     BSDNetworking().settle()