fix node test to be resilient of state.json change

This commit is contained in:
Tamar Ben-Shachar
2016-02-11 15:44:01 -08:00
parent 2253d5e450
commit ec921fe849
2 changed files with 3 additions and 1 deletions

View File

@@ -43,5 +43,6 @@ def slave_fixture():
"mem": 0.0,
"ports": ("[1025-2180, 2182-3887, 3889-5049, 5052-8079, " +
"8082-8180, 8182-65535]")
}
},
"version": "0.0.0"
}

View File

@@ -185,6 +185,7 @@ def _get_schema(slave):
schema['properties']['offered_resources']['required'].remove('ports')
schema['properties']['attributes']['additionalProperties'] = True
schema['required'].remove('version')
return schema