Kiln » largefiles » largefiles-truncated
Clone URL:  

Move user-customized configuration settings out into a separate file to facilitate not checking them in while developing the tests.

Changeset d4f5278f518b

Parent cb7fd20c752c

by David Golub

Changes to 3 files · Browse files at d4f5278f518b Showing diff from parent cb7fd20c752c Diff from another changeset...

Change 1 of 1 Show Entire File tests/​README Stacked
 
4
5
6
7
 
8
9
 
10
 
4
5
6
 
7
8
 
9
10
@@ -4,7 +4,7 @@
  python <path to Mercurial source directory>/tests/run-tests.py    For the tests that use Kiln, you need to change the Kiln settings in -kilntest.py. Also, you must run at least one operation that involves +custom.py. Also, you must run at least one operation that involves  interacting with the Kiln server and entering your username and password -so that they are stored in the kilnuser extension prior to running the +so that they are stored in the kilnauth extension prior to running the  tests.
Change 1 of 1 Show Entire File tests/​custom.py Stacked
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
@@ -0,0 +1,10 @@
+# Update the four variables below +# Your local kiln must have a project Test with a repo group called Test +# A repo Test in that group, as well as a branch repository TestBranch, will +# be created as part of the tests. The username and password given must have +# write access to that repo group. + +KILNAUTHPATH = '/code/kiln/2-0/extensions/kilnauth.py' +KILNURL = 'http://localhost/FogBugz/kiln' +USER = 'test' +PASSWORD = 'tester'
Change 1 of 1 Show Entire File tests/​kilntest.py Stacked
 
6
7
8
9
10
11
12
13
14
15
16
17
18
 
19
20
21
 
6
7
8
 
 
 
 
 
 
 
 
 
 
9
10
11
12
@@ -6,16 +6,7 @@
 import urllib2  from urllib import urlencode   -# Update the four variables below -# Your local kiln must have a project Test with a repo group called Test -# A repo test in that group will be created as part of the test and must -# not already exist when the test is initiated. The username and password -# given must have write access to that group. - -KILNEXTPATH = '/code/kiln/2-0/extensions' -KILNURL = 'http://localhost/FogBugz/kiln' -USER = 'test' -PASSWORD = 'tester' +from custom import *    # Ensure that the home directory is set appropriately so that the kilnauth  # cookies will be found. This is important because Mercurial 1.9 and later