Mercurial > p > roundup > code
comparison test/rest_common.py @ 5623:1c4adab65faf
use config file setting for creating tracker uri
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Feb 2019 22:49:30 -0500 |
| parents | ed02a1e0aa5d |
| children | 07abc8d36940 |
comparison
equal
deleted
inserted
replaced
| 5622:2a7d23a098ca | 5623:1c4adab65faf |
|---|---|
| 149 issue_open_crit = self.db.issue.create( | 149 issue_open_crit = self.db.issue.create( |
| 150 title='foo5', | 150 title='foo5', |
| 151 status=self.db.status.lookup('open'), | 151 status=self.db.status.lookup('open'), |
| 152 priority=self.db.priority.lookup('critical') | 152 priority=self.db.priority.lookup('critical') |
| 153 ) | 153 ) |
| 154 base_path = self.dummy_client.env['PATH_INFO'] + 'data/issue/' | 154 base_path = self.db.config['TRACKER_WEB'] + 'rest/data/issue/' |
| 155 | 155 |
| 156 # Retrieve all issue status=open | 156 # Retrieve all issue status=open |
| 157 form = cgi.FieldStorage() | 157 form = cgi.FieldStorage() |
| 158 form.list = [ | 158 form.list = [ |
| 159 cgi.MiniFieldStorage('where_status', 'open') | 159 cgi.MiniFieldStorage('where_status', 'open') |
