'Test it extracts paths from non-rundll strings.'

def testExtractsPathsFromNonRunDllStrings(self):

    fixture = [('C:\\Program    Files\\Realtek\\Audio\\blah.exe    -s', 'C:\\Program    Files\\Realtek\\Audio\\blah.exe'), ("'C:\\Program    Files\\Realtek\\Audio\\blah.exe'    -s", 'C:\\Program    Files\\Realtek\\Audio\\blah.exe'), ('C:\\Program    Files\\NVIDIA    Corporation\\nwiz.exe    /quiet    /blah', 'C:\\Program    Files\\NVIDIA    Corporation\\nwiz.exe')]
    for (in_str, result) in fixture:
        self.assertEqual(list(windows.DetectExecutablePaths([in_str])), [result])
