def test_network_mode(self):
    network_mode = NetworkMode('host')
    assert (network_mode.id == 'host')
    assert (network_mode.mode == 'host')
    assert (network_mode.service_name is None)
def test_network_mode(self):
    network_mode = NetworkMode('host')
    assert (network_mode.id == 'host')
    assert (network_mode.mode == 'host')
    assert (network_mode.service_name is None)