fixed unit tests for grpc get emane model configs

This commit is contained in:
Blake Harnden 2019-12-13 15:28:22 -08:00
parent 9d988a4b13
commit 47e087b365

View file

@ -708,10 +708,11 @@ class TestGrpc:
# then # then
assert len(response.configs) == 1 assert len(response.configs) == 1
assert emane_network.id in response.configs model_config = response.configs[0]
model_config = response.configs[emane_network.id] assert emane_network.id == model_config.node_id
assert model_config.model == EmaneIeee80211abgModel.name assert model_config.model == EmaneIeee80211abgModel.name
assert len(model_config.config) > 0 assert len(model_config.config) > 0
assert model_config.interface == -1
def test_set_emane_model_config(self, grpc_server): def test_set_emane_model_config(self, grpc_server):
# given # given