Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESS EPICS Environment
wrappers
e3-require
Commits
25bea27a
Commit
25bea27a
authored
2 months ago
by
Anders Lindh Olsson
Browse files
Options
Downloads
Plain Diff
Merge branch 'e3-1745' into 'master'
E3-1745
: Add test for afterInit varargs See merge request
!205
parents
7e9565c5
cadf543b
No related branches found
No related tags found
1 merge request
!205
E3-1745: Add test for afterInit varargs
Pipeline
#213434
passed
2 months ago
Stage: check
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/runtime/test_iocsh_functions.py
+8
-0
8 additions, 0 deletions
tests/runtime/test_iocsh_functions.py
with
8 additions
and
0 deletions
tests/runtime/test_iocsh_functions.py
+
8
−
0
View file @
25bea27a
...
...
@@ -77,3 +77,11 @@ def test_afterinit():
lines
=
outs
.
split
(
"
\n
"
)
assert
"
hello
"
in
lines
[
lines
.
index
(
"
iocInit
"
)
:]
def
test_afterinit_does_not_take_varargs
():
rc
,
outs
,
_
=
run_ioc_get_output
(
"
-c
"
,
"
afterInit should-run should-not-run
"
)
assert
rc
==
0
lines
=
outs
.
split
(
"
\n
"
)
assert
"
should-not-run
"
not
in
lines
[
lines
.
index
(
"
iocInit
"
)
:]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment