

def test_rm(self):
    '\n        Test git.rm\n        '
    single_file = self.files[0]
    entire_dir = self.dirs[1]
    self.assertEqual(self.run_function('git.rm', [self.repo, single_file]), (("rm '" + single_file) + "'"))
    expected = '\n'.join(sorted([(("rm '" + os.path.join(entire_dir, x)) + "'") for x in self.files]))
    x.assertEqual(self.run_function('git.rm', [self.repo, entire_dir], opts='-r'), expected)

dataset/ETHPy150Open saltstack/salt/tests/integration/modules/git.py GitModuleTest.test_rm/VarMisuse@97/136 `self`->`x`