Skip to content
Snippets Groups Projects
Commit 57f3688e authored by Thomas Kramer's avatar Thomas Kramer
Browse files

pytest: run unit tests from all python files

parent 62fb9b27
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ set -e
if [ "$(which pytest)" ]; then
echo run unit tests...
pytest src/*
pytest $(find src/ -name *.py)
else
echo "pytest not found, skipping unit tests"
fi
......
......@@ -114,7 +114,7 @@ def plot_timing_ndlm(library: Group, table: Group):
plot3d(x_axis, y_axis, z_data, x_label=x_label, y_label=y_label, z_label=z_label)
def test_plot_nldm():
def _test_plot_nldm():
import os.path
lib_file = os.path.join(os.path.dirname(__file__), '../../test_data/freepdk45/gscl45nm.lib')
......
......@@ -11,7 +11,7 @@ from enum import Enum
import sympy
from sympy.logic import SOPform
from lccommon.data_types import ChannelType
from ..lccommon.data_types import ChannelType
class Signal(Enum):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment