mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
PEP8 fixes. Fixes #3175
This commit is contained in:
committed by
Dave Page
parent
427314cfdf
commit
06ff05762e
@@ -7,14 +7,22 @@
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
def change_password(self):
|
||||
response = self.tester.get('/browser/change_password', follow_redirects=True)
|
||||
self.assertTrue('pgAdmin 4 Password Change' in response.data.decode(
|
||||
'utf-8'))
|
||||
|
||||
response = self.tester.post('/browser/change_password', data=dict(
|
||||
password=self.password,
|
||||
new_password=self.new_password,
|
||||
new_password_confirm=self.new_password_confirm),
|
||||
follow_redirects=True)
|
||||
def change_password(self):
|
||||
response = self.tester.get(
|
||||
'/browser/change_password', follow_redirects=True
|
||||
)
|
||||
self.assertTrue(
|
||||
'pgAdmin 4 Password Change' in response.data.decode('utf-8')
|
||||
)
|
||||
|
||||
response = self.tester.post(
|
||||
'/browser/change_password',
|
||||
data=dict(
|
||||
password=self.password,
|
||||
new_password=self.new_password,
|
||||
new_password_confirm=self.new_password_confirm
|
||||
),
|
||||
follow_redirects=True
|
||||
)
|
||||
self.assertTrue(self.respdata in response.data.decode('utf-8'))
|
||||
|
||||
Reference in New Issue
Block a user