| 558 | self.assertNotEqual(data2["SearchInfo.lowPriorityTag"], "True") |
| 559 | |
| 560 | def test_py_shebang(self): |
| 561 | with self.py_ini(TEST_PY_DEFAULTS): |
| 562 | with self.script("#! /usr/bin/python -prearg") as script: |
| 563 | data = self.run_py([script, "-postarg"]) |
| 564 | self.assertEqual("PythonTestSuite", data["SearchInfo.company"]) |
| 565 | self.assertEqual("3.100", data["SearchInfo.tag"]) |
| 566 | self.assertEqual(f"X.Y.exe -prearg {quote(script)} -postarg", data["stdout"].strip()) |
| 567 | |
| 568 | def test_python_shebang(self): |
| 569 | with self.py_ini(TEST_PY_DEFAULTS): |