9 years ago
Test for retail lot
I want a testset to fail if the lot is a retail lot. I have discovered:
False
But that won't do it. The test will fail if it's an open retail lot, but it will also fail if it's not a retail lot at all, which isn't the way round I want it. Is there a way to negate the entire test instead of the is_open being false, if I can change that to True and then add a negate to the whole thing so it fails if it is a retail lot at all.
Is there no simple testset for lot type? I couldn't find one.
But that won't do it. The test will fail if it's an open retail lot, but it will also fail if it's not a retail lot at all, which isn't the way round I want it. Is there a way to negate the entire test instead of the is_open being false, if I can change that to True and then add a negate to the whole thing so it fails if it is a retail lot at all.
Is there no simple testset for lot type? I couldn't find one.