forked from indymedia/epicyon
Test for changing password
parent
5b6c812f91
commit
f5df29cda9
6
tests.py
6
tests.py
|
@ -321,6 +321,12 @@ def testAuthentication():
|
|||
authHeader=createBasicAuthHeader(nickname,password+'1')
|
||||
assert authorizeBasic(baseDir,authHeader)==False
|
||||
|
||||
password='someOtherPassword'
|
||||
assert storeBasicCredentials(baseDir,nickname,password)
|
||||
|
||||
authHeader=createBasicAuthHeader(nickname,password)
|
||||
assert authorizeBasic(baseDir,authHeader)
|
||||
|
||||
os.chdir(currDir)
|
||||
shutil.rmtree(baseDir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue