Skip to content

Commit

Permalink
Fix code smell flagged by sonarcloud (#2667)(patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard authored Nov 7, 2023
1 parent e74c5e5 commit c391fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/meta/demultiplex/test_status_db_storage_functions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tests for the status_db_storage_functions module of the demultiplexing post post-processing module."""

from datetime import datetime
from mock import MagicMock

from cg.meta.demultiplex.demux_post_processing import DemuxPostProcessingAPI
Expand All @@ -12,6 +11,7 @@
)
from cg.models.cg_config import CGConfig
from cg.store import Store
from cg.store.models import Sample


def test_add_single_sequencing_metrics_entry_to_statusdb(
Expand Down Expand Up @@ -43,7 +43,7 @@ def test_add_single_sequencing_metrics_entry_to_statusdb(

def test_update_sample_read_count():
# GIVEN a sample and a read count
sample = MagicMock()
sample = Sample()
read_count: int = 100

# GIVEN a mocked status_db
Expand Down

0 comments on commit c391fe2

Please sign in to comment.