Skip to content

Commit

Permalink
cq
Browse files Browse the repository at this point in the history
  • Loading branch information
asnytin committed Nov 8, 2023
1 parent 287595a commit 20820cb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion lib/dl_api_lib/dl_api_lib/app/data_api/resources/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class PingReadyView(BaseView):
async def is_pg_ready(self) -> bool:
compeng: CompEngPgService = CompEngPgService.get_app_instance(self.request.app)
processor = compeng.get_data_processor(
service_registry=self.dl_request.services_registry, reporting_enabled=False,
service_registry=self.dl_request.services_registry,
reporting_enabled=False,
)

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@
from dl_core_testing.testcases.service_base import DbServiceFixtureTextClass
from dl_testing.regulated_test import (
Feature,
for_features,
RegulatedTestCase,
for_features,
)


class DefaultBasicExtAggregationTestSuite(RegulatedTestCase, DataApiTestBase, DatasetTestBase, DbServiceFixtureTextClass):
class DefaultBasicExtAggregationTestSuite(
RegulatedTestCase, DataApiTestBase, DatasetTestBase, DbServiceFixtureTextClass
):
def test_lod_fixed_single_dim_in_two_dim_query(self, control_api, data_api, saved_dataset):
ds = add_formulas_to_dataset(
api_v1=control_api,
Expand Down Expand Up @@ -264,7 +266,9 @@ def get_data(order_by: list[ResultField]) -> list:
assert ordered_data_rows == data_rows


class DefaultBasicLookupFunctionTestSuite(RegulatedTestCase, DataApiTestBase, DatasetTestBase, DbServiceFixtureTextClass):
class DefaultBasicLookupFunctionTestSuite(
RegulatedTestCase, DataApiTestBase, DatasetTestBase, DbServiceFixtureTextClass
):
def test_ago_any_db(self, request, saved_connection_id, control_api, data_api, db):
db_table = make_table(db=db)
request.addfinalizer(functools.partial(db.drop_table, db_table.table))
Expand Down Expand Up @@ -460,7 +464,9 @@ def test_month_ago_for_shorter_month(self, request, db, saved_connection_id, con
assert len(data_rows) == 1


class DefaultBasicWindowFunctionTestSuite(RegulatedTestCase, DataApiTestBase, DatasetTestBase, DbServiceFixtureTextClass):
class DefaultBasicWindowFunctionTestSuite(
RegulatedTestCase, DataApiTestBase, DatasetTestBase, DbServiceFixtureTextClass
):
feature_window_functions = Feature("window_functions")

@for_features(feature_window_functions)
Expand Down
4 changes: 1 addition & 3 deletions terrarium/bi_ci/bi_ci/execute_mypy_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
from pathlib import Path
import subprocess
import sys
from typing import (
Iterable,
)
from typing import Iterable

import clize
import tomlkit
Expand Down

0 comments on commit 20820cb

Please sign in to comment.