Skip to content

Commit

Permalink
fix workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafacc committed Jul 3, 2024
1 parent f6a45ba commit a6c5e2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/SiEPIC_TestCreator/tests/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
needs better testing to test each module, method, and class.
"""

import siepic_testcreator
import SiEPIC_TestCreator

'''
def test_gui():
Expand All @@ -20,13 +20,13 @@ def test_yaml_check():
import os
filename = 'EBeam_heaters_mustafah_tests.yaml'
yaml_file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename)
siepic_testcreator.yamlcheck.yaml_check(yaml_file_path)
SiEPIC_TestCreator.yamlcheck.yaml_check(yaml_file_path)

def test_sequence_runtime_check():
import os
filename = 'EBeam_heaters_mustafah_tests.yaml'
yaml_file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), filename)
t = siepic_testcreator.yamlcheck.sequence_runtime_check(yaml_file_path)
t = SiEPIC_TestCreator.yamlcheck.sequence_runtime_check(yaml_file_path)
assert t == 25

if __name__ == "__main__":
Expand Down

0 comments on commit a6c5e2f

Please sign in to comment.