Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 600454 Details for
Bug 843382
[rfe] include Reference link into TestCase properties
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
TestCase.referenceLink support
0001-TestCase.referenceLink-support.patch (text/plain), 2.25 KB, created by
Lukáš Zachar
on 2012-07-26 08:02:56 UTC
(
hide
)
Description:
TestCase.referenceLink support
Filename:
MIME Type:
Creator:
Lukáš Zachar
Created:
2012-07-26 08:02:56 UTC
Size:
2.25 KB
patch
obsolete
>From e9b7f0d55bfcfab97a450f1ca9d7be2f614307e5 Mon Sep 17 00:00:00 2001 >From: Lukas Zachar <lzachar@redhat.com> >Date: Thu, 26 Jul 2012 09:55:12 +0200 >Subject: [PATCH] TestCase.referenceLink support > >--- > source/api.py | 8 ++++++-- > 1 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/source/api.py b/source/api.py >index 1c7ef08..c5a4d53 100644 >--- a/source/api.py >+++ b/source/api.py >@@ -2735,6 +2735,8 @@ class TestCase(Mutable): > doc="Test script arguments (used for automation).") > category = property(_getter("category"), _setter("category"), > doc="Test case category.") >+ referenceLink = property(_getter("extra_link"), _setter("extra_link"), >+ doc="Test case reference link.") > notes = property(_getter("notes"), _setter("notes"), > doc="Test case notes.") > priority = property(_getter("priority"), _setter("priority"), >@@ -2776,8 +2778,8 @@ class TestCase(Mutable): > > # Prepare attributes, check test case hash, initialize > self._attributes = """arguments author automated bugs category >- components plans priority product script sortkey status >- summary tags tester testplans time""".split() >+ components extra_link plans priority product script sortkey >+ status summary tags tester testplans time""".split() > testcasehash = kwargs.get("testcasehash") > if testcasehash: > id = testcasehash["case_id"] >@@ -2901,6 +2903,7 @@ class TestCase(Mutable): > self._author = User(testcasehash["author_id"]) > self._automated = testcasehash["is_automated"] > self._category = Category(testcasehash["category_id"]) >+ self._extra_link = testcasehash["extra_link"] > self._notes = testcasehash["notes"] > self._priority = Priority(testcasehash["priority_id"]) > self._requirement = testcasehash["requirement"] >@@ -2928,6 +2931,7 @@ class TestCase(Mutable): > hash["case_status"] = self.status.id > hash["category"] = self.category.id > hash["estimated_time"] = self.time >+ hash["extra_link"] = self.referenceLink > hash["is_automated"] = self.automated > hash["notes"] = self.notes > hash["priority"] = self.priority.id >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 843382
: 600454