File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ RUN pip3 install -r requirements.txt
1313
1414# Copy main scripts
1515COPY evaluation.py ./app/
16- COPY evaluation_tests .py ./app/
16+ COPY evaluation_test .py ./app/
1717COPY preview.py ./app/
18- COPY preview_tests .py ./app/
18+ COPY preview_test .py ./app/
1919
2020# Copy contexts
2121COPY context/physical_quantity.py ./app/context/
@@ -30,12 +30,12 @@ COPY preview_implementations/physical_quantity_preview.py ./app/preview_implemen
3030COPY preview_implementations/symbolic_preview.py ./app/preview_implementations/
3131
3232# Copy tests
33- COPY tests/example_tests .py ./app/tests/
34- COPY tests/physical_quantity_evaluation_tests .py ./app/tests/
35- COPY tests/physical_quantity_preview_tests .py ./app/tests/
36- COPY tests/slr_quantity_tests .py ./app/tests/
37- COPY tests/symbolic_evaluation_tests .py ./app/tests/
38- COPY tests/symbolic_preview_tests .py ./app/tests/
33+ COPY tests/example_test .py ./app/tests/
34+ COPY tests/physical_quantity_evaluation_test .py ./app/tests/
35+ COPY tests/physical_quantity_preview_test .py ./app/tests/
36+ COPY tests/slr_quantity_test .py ./app/tests/
37+ COPY tests/symbolic_evaluation_test .py ./app/tests/
38+ COPY tests/symbolic_preview_test .py ./app/tests/
3939
4040# Copy utility code
4141COPY utility/criteria_graph_utilities.py ./app/utility/
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ class TestEvaluationFunction():
2525 """
2626
2727 # Import tests that makes sure that mathematical expression comparison works as expected
28- from .tests .symbolic_evaluation_tests import TestEvaluationFunction as TestSymbolicComparison
28+ from .tests .symbolic_evaluation_test import TestEvaluationFunction as TestSymbolicComparison
2929
3030 # Import tests that makes sure that physical quantities are handled as expected
31- from .tests .physical_quantity_evaluation_tests import TestEvaluationFunction as TestQuantities
31+ from .tests .physical_quantity_evaluation_test import TestEvaluationFunction as TestQuantities
3232
3333 # Import tests that corresponds to examples in documentation and examples module
34- from .tests .example_tests import TestEvaluationFunction as TestExamples
34+ from .tests .example_test import TestEvaluationFunction as TestExamples
3535
3636 def test_eval_function_can_handle_latex_input (self ):
3737 response = r"\sin x + x^{7}"
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ class TestPreviewFunction():
2525 """
2626
2727 # Import tests that makes sure that mathematical expression comparison works as expected
28- from .tests .symbolic_preview_tests import TestPreviewFunction as TestSymbolicComparison
28+ from .tests .symbolic_preview_test import TestPreviewFunction as TestSymbolicComparison
2929
3030 # Import tests that makes sure that physical quantities are handled as expected
31- from .tests .physical_quantity_preview_tests import TestPreviewFunction as TestQuantityComparison
31+ from .tests .physical_quantity_preview_test import TestPreviewFunction as TestQuantityComparison
3232
3333 def test_empty_latex_expression (self ):
3434 response = ""
File renamed without changes.
Original file line number Diff line number Diff line change 22import os
33
44# Import necessary data and reference cases for tests
5- from .slr_quantity_tests import slr_strict_si_syntax_test_cases , slr_natural_si_syntax_test_cases
5+ from .slr_quantity_test import slr_strict_si_syntax_test_cases , slr_natural_si_syntax_test_cases
66from ..evaluation import evaluation_function
77from ..utility .unit_system_conversions import (
88 set_of_SI_prefixes ,
@@ -32,7 +32,7 @@ class TestEvaluationFunction():
3232 """
3333
3434 # Import tests that makes sure that physical quantity parsing works as expected
35- from .slr_quantity_tests import TestEvaluationFunction as TestStrictSLRSyntax
35+ from .slr_quantity_test import TestEvaluationFunction as TestStrictSLRSyntax
3636
3737 log_details = True
3838
Original file line number Diff line number Diff line change 22import pytest
33
44from ..preview_implementations .physical_quantity_preview import preview_function
5- from .slr_quantity_tests import slr_strict_si_syntax_test_cases , slr_natural_si_syntax_test_cases
5+ from .slr_quantity_test import slr_strict_si_syntax_test_cases , slr_natural_si_syntax_test_cases
66
77
88class TestPreviewFunction ():
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 33
44from ..utility .preview_utilities import Params , extract_latex
55from ..preview_implementations .symbolic_preview import preview_function
6- from .symbolic_evaluation_tests import elementary_function_test_cases
6+ from .symbolic_evaluation_test import elementary_function_test_cases
77
88
99class TestPreviewFunction ():
You can’t perform that action at this time.
0 commit comments