def setUp(self):
        """PREREQUISITES"""
        PlanAdapter.create_table()
        ServiceTypeAdapter.create_table()
        PlanServiceTypeAdapter.create_table()
        self.service = ServiceTypeAdapter.sample_model('manifest1')
        ServiceTypeAdapter.save(self.service)

        ManifestAdapter.create_table()
        self.test_model = ManifestAdapter.sample_model('manifest1')
        _, self.result = SQLStore.add_manifest(self.test_model)
 def test_add_manifest_existing(self, mock_exists):
     mock_exists.return_value = True
     _, result = SQLStore.add_manifest(self.test_model)
     self.assertEqual(result, 409, msg='Assert Manifest Already Exists')