-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtests.config
More file actions
68 lines (52 loc) · 2.1 KB
/
tests.config
File metadata and controls
68 lines (52 loc) · 2.1 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# See file COPYING distributed with python-hypothesis for copyright and
# license.
# The test suite reads parameters from tests.config or
# PYTHON_HYPOTHESIS_TESTS_CONFIG if it is defined.
# This file lists all of the possible parameters needed by the test suite.
# Tests that require parameters that are not defined are skipped.
[General]
# The server to use for tests. If unset, use the production Hypothesis server.
#server = https://h-server.virtualbrain.org/
[OAuth]
#server = http://localhost:5000
#client_id = 2fec875a-3ab9-11e9-8316-8f18e26ee062
#client_secret = 7fa5bdb63054f6c60c067ad17f0cf15e
#username = username
#password = password
[TestAPI]
# Use an active authentication token for auth_token and
# test_authenticated_profile() will check if the api.profile() returns
# the given userid.
#auth_token = some-token
#userid = acct:someuser@hypothes.is
[TestAnnotation]
# Used by test_read() to test the return value of Annotation.load(). If
# this annotation does not exist (or can not be found), the test results
# an error.
annotation_id = 53LMZGVCEemN4zOvm3oFEQ
# Used to test the search functionality. The tests expect at least two
# annotations with the given tag on the given page.
search_tag = PythonHypothesis
search_uri = https://github.com/chaselgrove/python-hypothesis
[TestEdit]
# Used by TestEdits to test edits to annotations. The annotation text
# should not contain "test text," and "TestTag" should not be one of its
# tags.
#auth_token = some-token
#annot_id = some-annotation-id
[TestSearch]
# Used by TestAuthenticatedSearch to make sure annotation.search()
# is using authentication properly. Create a private annotation on
# the given URI containing the given text. The test will throw an
# error if the text appears in a public annotation on that page.
# auth_token = some-token
# uri = some-uri
# text = some-text
[TestChangeURI]
# Used by TestChangeURI to test setting Annotation.uri. Create an
# annotation on uri_i. The test changes the annotation URI to uri_f.
# auth_token = some-token
# annot_id = some-annotation-id
# uri_i = url-of-annotation
# uri_f = uri-to-move-to
# eof