Esempio n. 1
0
 def test_import_base_jobmeta(self):
     from gnmvidispine.vs_item import VSItem
     i = VSItem(host=self.fake_host,port=self.fake_port,user=self.fake_user,passwd=self.fake_passwd)
     result = i.import_base(jobMetadata={'keyone': 'valueone','keytwo': 'valuetwo'})
     self.assertEqual({'essence': 'false', 'jobmetadata': ['keyone=valueone', 'keytwo=valuetwo'],
                       'priority': 'MEDIUM','tag': 'original', 'thumbnails': 'true'},
                      result)
Esempio n. 2
0
 def test_import_base_no_args(self):
     from gnmvidispine.vs_item import VSItem
     i = VSItem(host=self.fake_host,port=self.fake_port,user=self.fake_user,passwd=self.fake_passwd)
     result = i.import_base()
     self.assertEqual({'essence': 'false','priority': 'MEDIUM','tag': 'original', 'thumbnails': 'true'}, result)