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__cli_check():
_run_cmd("dunamai check 0.01.0")
_run_cmd("dunamai check v0.1.0", codes=[1])
_run_cmd("dunamai check 0.01.0 --style semver", codes=[1])
_run_cmd("dunamai check", codes=[1])
_run_cmd("echo 0.01.0 | dunamai check", shell=True)
def test__cli_check():
_run_cmd("dunamai check 0.01.0")
_run_cmd("dunamai check v0.1.0", codes=[1])
_run_cmd("dunamai check 0.01.0 --style semver", codes=[1])
_run_cmd("dunamai check", codes=[1])
_run_cmd("echo 0.01.0 | dunamai check", shell=True)
def inner(command, expected_code: int = 0):
_, out = _run_cmd(command, where=where, codes=[expected_code])
return out
def inner(command, expected_code: int = 0):
_, out = _run_cmd(command, where=where, codes=[expected_code])
return out
def test__cli_check():
_run_cmd("dunamai check 0.01.0")
_run_cmd("dunamai check v0.1.0", codes=[1])
_run_cmd("dunamai check 0.01.0 --style semver", codes=[1])
_run_cmd("dunamai check", codes=[1])
_run_cmd("echo 0.01.0 | dunamai check", shell=True)
def test__cli_check():
_run_cmd("dunamai check 0.01.0")
_run_cmd("dunamai check v0.1.0", codes=[1])
_run_cmd("dunamai check 0.01.0 --style semver", codes=[1])
_run_cmd("dunamai check", codes=[1])
_run_cmd("echo 0.01.0 | dunamai check", shell=True)
def test__cli_check():
_run_cmd("dunamai check 0.01.0")
_run_cmd("dunamai check v0.1.0", codes=[1])
_run_cmd("dunamai check 0.01.0 --style semver", codes=[1])
_run_cmd("dunamai check", codes=[1])
_run_cmd("echo 0.01.0 | dunamai check", shell=True)