Aluode/PerceptionLabPortable
0
1from setuptools import _scripts2 3 4class TestWindowsScriptWriter:5 def test_header(self):6 hdr = _scripts.WindowsScriptWriter.get_header('')7 assert hdr.startswith('#!')8 assert hdr.endswith('\n')9 hdr = hdr.lstrip('#!')10 hdr = hdr.rstrip('\n')11 # header should not start with an escaped quote12 assert not hdr.startswith('\\"')13 