Skip to content

Commit

Permalink
Update dpkg versions list
Browse files Browse the repository at this point in the history
From the artifact of the previous workflow run
  • Loading branch information
geo-ghci-int[bot] committed Dec 3, 2024
1 parent a795525 commit c278921
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 19 deletions.
7 changes: 1 addition & 6 deletions geoportal/tests/functional/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,14 @@
import c2cgeoportal_geoportal.lib
import pyramid.registry
import pyramid.request
import tests
import sqlalchemy.exc
import transaction
import webob.acceptparse
from c2c.template.config import config as configuration
from pyramid import testing
from sqlalchemy.orm.session import Session

import c2cgeoportal_geoportal
import c2cgeoportal_geoportal.lib
from c2cgeoportal_commons import models
from c2cgeoportal_geoportal.lib import caching
from pyramid import testing
from sqlalchemy.orm.session import Session

import tests

Expand Down
12 changes: 8 additions & 4 deletions geoportal/tests/functional/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@
import pyramid.request
import pytest
from c2c.template.config import config as configuration
from c2cgeoportal_commons.testing import (
generate_mappers,
get_engine,
get_session_factory,
get_tm_session,
)
from c2cgeoportal_commons.testing.initializedb import truncate_tables
from c2cgeoportal_geoportal.lib import caching
from pyramid.testing import DummyRequest
from sqlalchemy.orm.session import Session, SessionTransaction
from tests.functional import setup_common as setup_module

from c2cgeoportal_commons.testing import generate_mappers, get_engine, get_session_factory, get_tm_session
from c2cgeoportal_commons.testing.initializedb import truncate_tables
from c2cgeoportal_geoportal.lib import caching
from tests.functional import setup_common as setup_module

_LOG = logging.getLogger(__name__)
Expand Down
2 changes: 0 additions & 2 deletions geoportal/tests/functional/test_lingva_extractor_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ def dbsession_db1(settings, dbsession_old):

@pytest.fixture(scope="function")
def test_data(dbsession_db1, transact_old):
from sqlalchemy import text

from c2cgeoportal_commons.models import main
from sqlalchemy import text

Expand Down
4 changes: 1 addition & 3 deletions geoportal/tests/functional/test_theme2fts.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def settings():


def add_parent(dbsession_old, item, group):
"""
Utility function to add a TreeItem in a TreeGroup.
"""
"""Utility function to add a TreeItem in a TreeGroup."""
from c2cgeoportal_commons.models import main

dbsession_old.add(main.LayergroupTreeitem(group=group, item=item, ordering=len(group.children_relation)))
Expand Down
5 changes: 1 addition & 4 deletions geoportal/tests/functional/test_themes.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@


import pytest
import transaction
from tests.functional import create_dummy_request
from pyramid import testing

from tests.functional import create_default_ogcserver, create_dummy_request
from tests.functional import create_dummy_request
from tests.functional import setup_common as setup_module # noqa
from tests.functional import teardown_common as teardown_module # noqa

Expand Down

0 comments on commit c278921

Please sign in to comment.