()
| 12 | |
| 13 | |
| 14 | def test_gcn(): |
| 15 | script = os.path.join(EXAMPLE_ROOT, "gcn.py") |
| 16 | out = subprocess.run(["python", str(script)], capture_output=True) |
| 17 | assert ( |
| 18 | out.returncode == 0 |
| 19 | ), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}" |
| 20 | stdout = out.stdout.decode("utf-8") |
| 21 | assert float(stdout[-5:]) > 0.75 |
| 22 | |
| 23 | |
| 24 | def test_gcnii(): |