def test_parse_share_information(self):
        runner = self._get_script_runner()

        fixture_path = os.path.join(FIXTURES_DIR, 'net_share_C_stdout.txt')
        with open(fixture_path, 'r') as fp:
            stdout = fp.read()

        result = runner._parse_share_information(stdout=stdout)

        expected_keys = ['share_name', 'path', 'remark', 'maximum_users', 'users', 'caching',
                         'permission']
        for key in expected_keys:
            self.assertTrue(result in key)

        self.assertEqual(result['share_name'], 'C$')
        self.assertEqual(result['path'], 'C:\\')
        self.assertEqual(result['users'], None)
dataset/ETHPy150Open StackStorm/st2/st2actions/tests/unit/test_windows_runners.py/WindowsRunnerTestCase.test_parse_share_information/swapped operands of `in`