def test_manifests_arguments_no_manifests(self): cwd = os.getcwd() manifests = _parse_manifests_arguments(verify=None, manifests=None, manifests_interactive=None, cwd=cwd) manifest_folder, manifest_interactive, manifest_verify = manifests self.assertIsNone(manifest_folder) self.assertFalse(manifest_interactive) self.assertFalse(manifest_verify)
def test_manifests_arguments_no_manifests(self): cwd = os.getcwd() manifests = _parse_manifests_arguments(verify=None, manifests=None, manifests_interactive=None, cwd=cwd) manifest_folder, manifest_interactive, manifest_verify = manifests self.assertIsNone(manifest_folder) self.assertFalse(manifest_interactive) self.assertFalse(manifest_verify)
def test_manifests_arguments_manifests_interactive(self): cwd = os.getcwd() manifests = _parse_manifests_arguments(verify=None, manifests=None, manifests_interactive=default_manifest_folder, cwd=cwd) manifest_folder, manifest_interactive, manifest_verify = manifests self.assertIn(cwd, manifest_folder) self.assertTrue(manifest_interactive) self.assertFalse(manifest_verify)
def test_manifests_arguments_verify(self): cwd = prepare_cwd(None) manifests = _parse_manifests_arguments(verify=default_manifest_folder, manifests=None, manifests_interactive=None, cwd=cwd) manifest_folder, manifest_interactive, manifest_verify = manifests self.assertIn(cwd, manifest_folder) self.assertFalse(manifest_interactive) self.assertTrue(manifest_verify)
def test_manifests_arguments_manifests_interactive(self): cwd = os.getcwd() manifests = _parse_manifests_arguments( verify=None, manifests=None, manifests_interactive=default_manifest_folder, cwd=cwd) manifest_folder, manifest_interactive, manifest_verify = manifests self.assertIn(cwd, manifest_folder) self.assertTrue(manifest_interactive) self.assertFalse(manifest_verify)
def test_manifest_arguments_conflicting(self, arguments): with self.assertRaises(ConanException): _parse_manifests_arguments(cwd=None, **arguments)
def test_manifest_arguments_conflicting(self, arguments): with self.assertRaises(ConanException): _parse_manifests_arguments(cwd=None, **arguments)