def test_storage_process_blob_source_uri_redundent_parameter(self): with self.assertRaises(ValueError): process_blob_source_uri(Namespace(copy_source='https://example.com', source_sas='some_sas')) with self.assertRaises(ValueError): process_blob_source_uri(Namespace(copy_source='https://example.com', source_account_name='account_name'))
def test_storage_process_blob_source_uri_redundent_parameter(self): with self.assertRaises(ValueError): process_blob_source_uri(MockCmd(self.cli), Namespace(copy_source='https://example.com', source_sas='some_sas')) with self.assertRaises(ValueError): process_blob_source_uri(MockCmd(self.cli), Namespace(copy_source='https://example.com', source_account_name='account_name'))