Skip to content

Commit 580a13c

Browse files
committed
fix tests
1 parent 1608111 commit 580a13c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apps/dashboard/test/system/project_manager_test.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def add_auto_environment_variable(project_id, launcher_id, save: true)
387387

388388
# assert defaults
389389
assert_equal 'oakley', find('#launcher_auto_batch_clusters').value
390-
assert_equal 'pzs0715', find('#launcher_auto_accounts').value
390+
assert_equal 'pzs1124', find('#launcher_auto_accounts').value
391391
assert_equal "#{project_dir}/my_cool_script.sh", find('#launcher_auto_scripts').value
392392
assert_nil YAML.safe_load(File.read("#{ondemand_dir}/job_log.yml"))
393393

@@ -434,7 +434,7 @@ def add_auto_environment_variable(project_id, launcher_id, save: true)
434434

435435
# assert defaults
436436
assert_equal 'oakley', find('#launcher_auto_batch_clusters').value
437-
assert_equal 'pzs0715', find('#launcher_auto_accounts').value
437+
assert_equal 'pzs1124', find('#launcher_auto_accounts').value
438438
assert_equal "#{project_dir}/my_cool_script.sh", find('#launcher_auto_scripts').value
439439
assert_nil YAML.safe_load(File.read("#{ondemand_dir}/job_log.yml"))
440440

@@ -476,7 +476,7 @@ def add_auto_environment_variable(project_id, launcher_id, save: true)
476476

477477
# assert defaults
478478
assert_equal 'oakley', find('#launcher_auto_batch_clusters').value
479-
assert_equal 'pzs0715', find('#launcher_auto_accounts').value
479+
assert_equal 'pzs1124', find('#launcher_auto_accounts').value
480480
assert_equal "#{project_dir}/my_cool_script.sh", find('#launcher_auto_scripts').value
481481
assert_nil YAML.safe_load(File.read("#{ondemand_dir}/job_log.yml"))
482482

@@ -674,18 +674,18 @@ def add_auto_environment_variable(project_id, launcher_id, save: true)
674674
attributes:
675675
auto_accounts:
676676
options:
677-
- pzs0715
678-
- pzs0714
679677
- pzs1124
680678
- pzs1118
681679
- pzs1117
682680
- pzs1010
681+
- pzs0715
682+
- pzs0714
683683
- pde0006
684684
- pas2051
685685
- pas1871
686686
- pas1754
687687
- pas1604
688-
value: pzs0715
688+
value: pzs1124
689689
label: Account
690690
help: ''
691691
required: false
@@ -972,11 +972,11 @@ def add_auto_environment_variable(project_id, launcher_id, save: true)
972972
project_dir = Dir.children(dir).select { |p| Pathname.new("#{dir}/#{p}").directory? }.first
973973
project_dir = "#{dir}/#{project_dir}"
974974

975-
# NOTE: we're using pzs1715 from sacctmgr_show_accts_alt.txt instead of psz0175
975+
# NOTE: we're using pzs1124 from sacctmgr_show_accts_alt.txt instead of pzs1124
976976
# from the template.
977977
Open3
978978
.stubs(:capture3)
979-
.with({}, 'sbatch', '-D', project_dir, '-A', 'pzs1715', '--export', 'NONE', '--parsable', '-M', 'owens',
979+
.with({}, 'sbatch', '-D', project_dir, '-A', 'pzs1124', '--export', 'NONE', '--parsable', '-M', 'owens',
980980
stdin_data: input_data)
981981
.returns(['job-id-123', '', exit_success])
982982

0 commit comments

Comments
 (0)