Skip to content

Commit

Permalink
fix bug unit test with migration
Browse files Browse the repository at this point in the history
  • Loading branch information
pdrillin committed Jul 23, 2021
1 parent 0e64d0c commit a7dae29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
14 changes: 0 additions & 14 deletions gestion_base_adresse/install/sql/upgrade/upgrade_to_0.8.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -390,20 +390,6 @@ ALTER TABLE ONLY adresse.commune_deleguee ALTER COLUMN id_com_del SET DEFAULT ne
ALTER TABLE ONLY adresse.document ALTER COLUMN id_doc SET DEFAULT nextval('adresse.document_id_doc_seq'::regclass);


-- metadata id
ALTER TABLE ONLY adresse.metadata ALTER COLUMN id SET DEFAULT nextval('adresse.metadata_id_seq'::regclass);


-- parcelle fid
ALTER TABLE ONLY adresse.parcelle ALTER COLUMN fid SET DEFAULT nextval('adresse.parcelle_fid_seq'::regclass);


-- point_adresse id_point
ALTER TABLE ONLY adresse.point_adresse ALTER COLUMN id_point SET DEFAULT nextval('adresse.point_adresse_id_point_seq'::regclass);


-- voie id_voie
ALTER TABLE ONLY adresse.voie ALTER COLUMN id_voie SET DEFAULT nextval('adresse.voie_id_voie_seq'::regclass);

--
-- Fin TABLE_SEQUENCE
Expand Down
1 change: 0 additions & 1 deletion gestion_base_adresse/test/test_load_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def tearDown(self) -> None:
del self.connection
time.sleep(1)

@unittest.skip("Test disabled because of timeout")
def test_load_structure_with_migration(self):
"""Test we can load the PostGIS structure with migrations."""
provider = ProcessingProvider()
Expand Down

0 comments on commit a7dae29

Please sign in to comment.