def test_build_requires_with_operator_no_space(self): spec = RpmSpecFile(OPERATOR_DEP_SPEC_CONTENT2) self.assertEqual(set(spec.build_requires()), set(['dep1', 'dep2']))
def test_build_requires(self): spec = RpmSpecFile(DEP_SPEC_CONTENT) self.assertEqual(set(spec.build_requires()), set(['dep1', 'dep2']))