def test_delete_cas_destionation(self): dest = mp.get_destination('sasctlcas') assert dest.name == 'sasctlcas' mp.delete_destination('sasctlcas') dest = mp.get_destination('sasctlcas') assert dest is None
def test_create_cas_destination(self): from sasctl.services import model_publish as mp dest = mp.get_destination(self.CAS_DEST) if not dest: dest = mp.create_cas_destination(self.CAS_DEST, 'Public', self.CAS_MODEL_TABLE) assert dest.name == self.CAS_DEST assert dest.destinationType == 'cas' assert dest.destinationTable == self.CAS_MODEL_TABLE
def test_get_publish_destination(self): dest = mp.get_destination('maslocal') assert dest.name == 'maslocal' assert dest.destinationType == 'microAnalyticService'