Skip to content

Commit

Permalink
changed name of test to default.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
atait committed Jan 30, 2019
1 parent 50e6e12 commit cbb18ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lymask/invocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def batch_main(infile, ymlspec=None, technology=None, outfile=None):
set_active_technology(technology)
if ymlspec is None:
# default dataprep test
ymlfile = tech_obj.eff_path('dataprep/test.yml')
ymlfile = tech_obj.eff_path('dataprep/default.yml')
else:
# find path to tech
if not ymlspec.endswith('.yml'):
Expand Down
2 changes: 1 addition & 1 deletion lymask/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def dataprep_yml_to_menu(dataprep_file):
subloop_name = os.path.splitext(os.path.basename(dataprep_file))[0]
action = _gen_dataprep_action(dataprep_file)
action.title = 'Run {}.yml'.format(subloop_name)
if subloop_name == 'test':
if subloop_name == 'default':
action.shortcut = 'Shift+Ctrl+P'
menu.insert_separator('tools_menu.dataprep.begin', 'SEP')
menu.insert_item('tools_menu.dataprep.begin', subloop_name, action)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from lytest import run_xor

test_dir = os.path.dirname(__file__)
dataprep_file = os.path.join(test_dir, 'tech', 'example_tech', 'dataprep', 'test.yml')
dataprep_file = os.path.join(test_dir, 'tech', 'example_tech', 'dataprep', 'default.yml')
layout_file = os.path.join(test_dir, '1_src.oas')
outfile = os.path.join(test_dir, '1_run.oas')
reffile = os.path.join(test_dir, '1_answer.oas')
Expand All @@ -22,7 +22,7 @@ def test_api():

def test_from_technology():
# os.environ['KLAYOUT_HOME'] = os.path.dirname(os.path.realpath(__file__))
batch_main(layout_file, ymlspec='test', outfile=outfile, technology='example_tech')
batch_main(layout_file, ymlspec='default', outfile=outfile, technology='example_tech')
run_xor(outfile, reffile)


Expand Down

0 comments on commit cbb18ef

Please sign in to comment.