test and coverage fixes
This commit is contained in:
5
.github/workflows/quality-gate.yml
vendored
5
.github/workflows/quality-gate.yml
vendored
@@ -63,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r ${{ steps.prepare-requirements.outputs.PROCESSED_REQUIREMENTS_FILE }}
|
||||
pip install pytest pytest-cov
|
||||
pip install pytest pytest-cov pytest-asyncio
|
||||
|
||||
- name: ⬇️ Setup Node.js 18
|
||||
uses: actions/setup-node@v4
|
||||
@@ -105,4 +105,5 @@ jobs:
|
||||
-Dsonar.host.url=$SONAR_HOST_URL \
|
||||
-Dsonar.token=$SONAR_TOKEN \
|
||||
-Dsonar.python.version=3.11 \
|
||||
-Dsonar.projectVersion=1.0.0
|
||||
-Dsonar.projectVersion=1.0.0 \
|
||||
-Dsonar.coverage.exclusions=laborious/worker/worker.py
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
""" from pandas import DataFrame
|
||||
from pandas import DataFrame
|
||||
|
||||
from laborious.utils.filters.conditional_filters import (
|
||||
filter_specific_variables_null_values,
|
||||
@@ -27,4 +27,4 @@ def test_filter_empty_data():
|
||||
def test_filter_empty_data_with_data():
|
||||
assert filter_empty_data(
|
||||
DataFrame({'variable': ['variable1', 'variable2'], 'value': [1, 2]}),
|
||||
{}) == False
|
||||
{}) is False
|
||||
|
||||
Reference in New Issue
Block a user