Commit 9da9029d authored by Philipp Arras's avatar Philipp Arras
Browse files

Relax test of MultiDomain even more

parent 729b67fc
Pipeline #31630 failed with stages
in 4 minutes and 11 seconds
......@@ -92,8 +92,10 @@ class MultiDomain(frozendict):
def subsetOf(self, x):
if not isinstance(x, MultiDomain):
x = MultiDomain.make(x)
if len(x) == 0:
return True
for key in self.keys():
if not key in x:
if key not in x:
return False
if self[key] != x[key]:
return False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment