Exemple #1
0
 def test_validate_source_uri(self):
     ns = Namespace(
         copy_source='https://other_name.file.core.windows.net/share2',
         source_sas='some_sas_token')
     validate_source_uri(MockCmd(self.cli), ns)
     self.assertEqual(
         ns.copy_source,
         'https://other_name.file.core.windows.net/share2?some_sas_token')
 def test_validate_source_uri(self):
     ns = Namespace(copy_source='https://other_name.file.core.windows.net/share2',
                    source_sas='some_sas_token')
     validate_source_uri(MockCmd(self.cli), ns)
     self.assertEqual(ns.copy_source, 'https://other_name.file.core.windows.net/share2?some_sas_token')