Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_no_parameter_returns_default_options(self):
opt = options.normalize_options()
assert opt is not options.DEFAULT_OPTIONS
for k, v in options.DEFAULT_OPTIONS.items():
assert k in opt
assert opt[k] == v
def test_numeric_resize_option(self, input_, output):
opt = options.normalize_options({
"resize": input_
})
assert opt["resize"][0] == output[0]
assert opt["resize"][1] == output[1]