def test_manifest_deletion(self):
     _, result = SQLStore.delete_manifest(self.test_model.id)
     self.assertEqual(self.result, 200, msg='Assert Manifest Deleted')
     exists = ManifestAdapter.exists_in_db(self.test_model.id)
     self.assertFalse(exists, msg='Assert manifest does NOT Exist.')
     manifest_sql = ManifestAdapter.find_by_id_name(self.test_model.id)
     self.assertIsNone(manifest_sql)
 def tearDown(self):
     SQLStore.delete_manifest(self.test_model.id)
     ServiceTypeAdapter.delete(self.service.id)
 def test_delete_manifest_nonexistent(self):
     _, result = SQLStore.delete_manifest(self.test_model.id)
     _, result = SQLStore.delete_manifest(self.test_model.id)
     self.assertEqual(result, 500, msg='Assert Delete Manifest Nonexistent')