| 565 | self.assertNotEqual(data2["SearchInfo.lowPriorityTag"], "True") |
| 566 | |
| 567 | def test_py_shebang(self): |
| 568 | with self.py_ini(TEST_PY_DEFAULTS): |
| 569 | with self.script("#! /usr/bin/python -prearg") as script: |
| 570 | data = self.run_py([script, "-postarg"]) |
| 571 | self.assertEqual("PythonTestSuite", data["SearchInfo.company"]) |
| 572 | self.assertEqual("3.100", data["SearchInfo.tag"]) |
| 573 | self.assertEqual(f"X.Y.exe -prearg {quote(script)} -postarg", data["stdout"].strip()) |
| 574 | |
| 575 | def test_python_shebang(self): |
| 576 | with self.py_ini(TEST_PY_DEFAULTS): |