Skip to content

Commit 650f40d

Browse files
committed
tests: Add full API product/component/bugfields coverage
Signed-off-by: Cole Robinson <crobinso@redhat.com>
1 parent f6b6725 commit 650f40d

12 files changed

Lines changed: 540 additions & 1 deletion
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{'default_assignee': 'foo@example.com',
2+
'default_cc': 'foo3@example.com',
3+
'default_qa_contact': 'foo2@example.com',
4+
'is_active': 0,
5+
'product': 'fooproduct'}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{'names': [{'component': 'foocomponent', 'product': 'fooproduct'}],
2+
'updates': {'blaharg': 'blahval',
3+
'default_assignee': 'foo@example.com',
4+
'is_active': 0}}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'ids': [1, 7]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'include_fields': ['name', 'id'], 'names': ['test-fake-product']}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'include_fields': ['name', 'id', 'components'], 'names': ['test-fake-product']}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'exclude_fields': ['product.foo'], 'ids': ['7']}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'include_fields': ['name', 'id'], 'names': [0]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'include_fields': ['name'], 'names': ['bug_status']}

0 commit comments

Comments
 (0)