Commit | Line | Data |
---|---|---|
b74513c5 MM |
1 | ## Configuration file for `diaspy` test suite (./tests.py) |
2 | ||
3 | Developer/tester has to create their own `testconf.py` file | |
4 | because it is appended to `.gitignore` to avoid accidental | |
5 | upload of personal data. | |
6 | ||
7 | ||
8 | #### You have to set the variables yourself! | |
9 | #### Their values have to be valid! | |
10 | ||
11 | Template file: | |
12 | ||
13 | # Here is a configuration file for test suite for diaspy. | |
14 | # Fill it with correct data. | |
15 | # | |
16 | # Fields are explained in testconf.md file. | |
17 | ||
18 | ||
19 | # Your login details | |
79a0fc19 MM |
20 | __pod__ = 'https://pod.example.com' |
21 | __username__ = 'user' | |
22 | __passwd__ = 'password' | |
b74513c5 MM |
23 | |
24 | ||
25 | # D* identifiers | |
79a0fc19 MM |
26 | diaspora_id = 'user@pod.example.com' |
27 | guid = 'abcdef01234678' | |
b74513c5 MM |
28 | |
29 | ||
30 | # Details of your account | |
79a0fc19 MM |
31 | diaspora_name = 'Foo Bar' |
32 | user_names_tuple = ('Foo', 'Bar') | |
f50cbea3 | 33 | user_email = 'email@example.com' |
79a0fc19 MM |
34 | user_location_string = 'Nowhere' |
35 | user_gender_string = 'Gender' | |
36 | user_date_of_birth = (2013, 9, 7) | |
b74513c5 | 37 | # remember about language you've set! |
79a0fc19 | 38 | user_date_of_birth_named = (2013, 'September', 7) |
b74513c5 MM |
39 | user_is_searchable = True |
40 | user_is_nsfw = False | |
79a0fc19 MM |
41 | # five tags you use to describe yourself (all in lowercase) |
42 | user_tags = ['movies', 'kittens', 'travel', 'teacher', 'newyork'] | |
b74513c5 MM |
43 | |
44 | ||
45 | # both names are created | |
46 | test_aspect_name = 'diaspy-test' | |
47 | ||
48 | # but this one will be deletd `by name` | |
49 | test_aspect_name_fake = 'diaspy-test-fake' | |
50 | ||
51 | # don't change needed for tests to work | |
52 | test_aspect_id = -1 |