Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Trigger Distribution
Commits
7d69d6b4
Commit
7d69d6b4
authored
Sep 19, 2022
by
Dimitris Lampridis
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pytest: remove special handling of set_attr_tstamp
Handled properly at the C level now
parent
5c5aee45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
WrtdTestHelper.py
pytest/tests/WrtdTestHelper.py
+0
-8
No files found.
pytest/tests/WrtdTestHelper.py
View file @
7d69d6b4
...
...
@@ -42,14 +42,6 @@ class WrtdTestNode(PyWrtd):
PyWrtd
.
set_attr_tstamp
(
self
,
rep_cap_id
,
id
,
sec_normalised
,
ns_normalised
,
frac
)
def
add_rule_enabled
(
self
,
name
,
src
,
dst
,
ns_delay
=
0
,
repeat
=
0
):
self
.
add_rule
(
name
)
self
.
set_attr_tstamp
(
name
,
self
.
WRTD_ATTR_RULE_DELAY
,
ns
=
ns_delay
)
self
.
set_attr_string
(
name
,
self
.
WRTD_ATTR_RULE_SOURCE
,
src
)
self
.
set_attr_string
(
name
,
self
.
WRTD_ATTR_RULE_DESTINATION
,
dst
)
self
.
set_attr_int32
(
name
,
self
.
WRTD_ATTR_RULE_REPEAT_COUNT
,
repeat
)
self
.
set_attr_bool
(
name
,
self
.
WRTD_ATTR_RULE_ENABLED
,
True
)
def
check_log_entry
(
self
,
pattern
,
timeout
=
1.0
):
remaining
=
timeout
while
self
.
get_attr_bool
(
self
.
WRTD_GLOBAL_REP_CAP_ID
,
...
...
Dimitris Lampridis
@dlampridis
mentioned in commit
f8229a03
·
Sep 19, 2022
mentioned in commit
f8229a03
mentioned in commit f8229a0338bd512287a17c29428b021ac331fe04
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment