Mercurial > p > roundup > code
comparison test/test_rest.py @ 5600:e2c74d8121f3 REST-rebased
Update resource links
.. to match the recently URI changes
committer: Ralf Schlatterbeck <rsc@runtux.com>
| author | Chau Nguyen <dangchau1991@yahoo.com> |
|---|---|
| date | Wed, 30 Jan 2019 10:26:35 +0100 |
| parents | a76d88673375 |
| children |
comparison
equal
deleted
inserted
replaced
| 5599:a76d88673375 | 5600:e2c74d8121f3 |
|---|---|
| 144 issue_open_crit = self.db.issue.create( | 144 issue_open_crit = self.db.issue.create( |
| 145 title='foo5', | 145 title='foo5', |
| 146 status=self.db.status.lookup('open'), | 146 status=self.db.status.lookup('open'), |
| 147 priority=self.db.priority.lookup('critical') | 147 priority=self.db.priority.lookup('critical') |
| 148 ) | 148 ) |
| 149 base_path = self.dummy_client.env['PATH_INFO'] + 'issue' | 149 base_path = self.dummy_client.env['PATH_INFO'] + 'data/issue/' |
| 150 | 150 |
| 151 # Retrieve all issue status=open | 151 # Retrieve all issue status=open |
| 152 form = cgi.FieldStorage() | 152 form = cgi.FieldStorage() |
| 153 form.list = [ | 153 form.list = [ |
| 154 cgi.MiniFieldStorage('where_status', 'open') | 154 cgi.MiniFieldStorage('where_status', 'open') |
