Restructure tests folder.

Remove DOMAIN setting.
Use localhost for services revoked emails.
This commit is contained in:
Adarnof
2017-09-28 20:08:05 -04:00
parent 44de49cbb0
commit cd6963daa6
14 changed files with 215 additions and 463 deletions

View File

@@ -195,7 +195,7 @@ class Phpbb3Manager:
cursor = connections['phpbb3'].cursor()
password = Phpbb3Manager.__gen_hash(Phpbb3Manager.__generate_random_pass())
revoke_email = "revoked@" + settings.DOMAIN
revoke_email = "revoked@localhost"
try:
pwhash = Phpbb3Manager.__gen_hash(password)
cursor.execute(Phpbb3Manager.SQL_DIS_USER, [revoke_email, pwhash, username])