Debian Codegraph @

test-crates/license-test/check_installed/check_installed.py

raw
1 from subprocess import check_output
2
3
4 def main():
5 output = check_output(["license-test"]).decode("utf-8").strip()
6 if not output == "Hello, world!":
7 raise Exception(output)
8 print("SUCCESS")
9
10
11 if __name__ == "__main__":
12 main()