GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — allure-python/allure-python-commons-test/src/label.py at master · hyperscience/allure-python
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Expand file tree/ Copy pathlabel.pyMore file actions 48 lines (28 loc) · 961 Bytes / Copy pathlabel.pyFile metadata and controls48 lines (28 loc) · 961 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 from hamcrest import all_of from hamcrest import has_entry, has_item def has_label(name, value): return has_entry('labels', has_item( all_of( has_entry('name', name), has_entry('value', value) ) )) def has_severity(level): return has_label('severity', level) def has_epic(feature): return has_label('epic', feature) def has_feature(feature): return has_label('feature', feature) def has_story(story): return has_label('story', story) def has_tag(tag): return has_label('tag', tag) def has_package(package): return has_label('package', package) def has_suite(suite): return has_label('suite', suite) def has_parent_suite(parent_suite): return has_label('parentSuite', parent_suite) def has_sub_suite(sub_suite): return has_label('subSuite', sub_suite) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |