'Look for the string after the shebang C{#!}
in a file.'

def test_findShebang(self):

    from twisted.internet._dumbwin32proc import _findShebang
    cgiScript = FilePath('example.cgi')
    cgiScript.setContent('#!/usr/bin/python')
    program = _findShebang(cgiScript.path)
    self.assertEqual(program, '/usr/bin/python')
