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