File: 0010.t

package info (click to toggle)
gcli 2.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,652 kB
  • sloc: ansic: 27,086; sh: 678; makefile: 545; perl: 392; yacc: 261; lex: 60
file content (31 lines) | stat: -rw-r--r-- 828 bytes parent folder | download | duplicates (2)
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
Keywords: github issue
ID: 10
Title: GitHub issue list with multiple pages

ClientArgs: -t github issues -o herrhotzenplotz -r gcli
VerifyClientExitCode: 0
VerifyClientOutput:
  NUMBER  NOTES  STATE  TITLE
       2      0  open   open issue 1
       1     42  open   open issue 2

# First request
ServerResponseStatus: 200 OK
ServerResponseHeaders:
  link: "@SERVERURL@/this_is_important"; rel="next"

ServerResponseBody:
  [ { "number": 2, "state": "open", "title": "open issue 1", "comments": 0  } ]

VerifyRequestMethod: GET
VerifyRequestPath: /repos/herrhotzenplotz/gcli/issues?state=open

# Second request
ServerResponseStatus: 200 OK
ServerResponseHeaders:

ServerResponseBody:
  [ { "number": 1, "state": "open", "title": "open issue 2", "comments": 42 } ]

VerifyRequestMethod: GET
VerifyRequestPath: /this_is_important