Skip to content

Commit

Permalink
Feat: tests were updated based on best structure
Browse files Browse the repository at this point in the history
  • Loading branch information
scientiststwin committed Dec 19, 2023
1 parent 2d19614 commit d1536d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dags/github/tests/units/test_labels_storage.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from neo4j_storage import save_label_to_neo4j
from github.neo4j_storage import save_label_to_neo4j


class TestSaveLabelToNeo4j(unittest.TestCase):
Expand Down
6 changes: 6 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env bash
echo "chang dir to dags"
cd dags || exit

python3 -m coverage run --omit=tests/* -m pytest .

cp .coverage ../.coverage
cd .. || exit
python3 -m coverage lcov -i -o coverage/lcov.info

0 comments on commit d1536d3

Please sign in to comment.