mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
* fixed https://github.com/getredash/redash/issues/2950 * fixed test code * Effective -> Active. thank you @kravets-levko
This commit is contained in:
parent
e6146dae0f
commit
a4b9c2da12
@ -245,5 +245,5 @@ def list(organization=None):
|
||||
if i > 0:
|
||||
print("-" * 20)
|
||||
|
||||
print("Id: {}\nName: {}\nEmail: {}\nOrganization: {}".format(
|
||||
user.id, user.name.encode('utf-8'), user.email, user.org.name))
|
||||
print("Id: {}\nName: {}\nEmail: {}\nOrganization: {}\nActive: {}".format(
|
||||
user.id, user.name.encode('utf-8'), user.email, user.org.name, not(user.is_disabled)))
|
||||
|
@ -391,6 +391,7 @@ class UserCommandTests(BaseTestCase):
|
||||
Name: Fred Foobar
|
||||
Email: foobar@example.com
|
||||
Organization: Default
|
||||
Active: True
|
||||
"""
|
||||
self.assertMultiLineEqual(result.output,
|
||||
textwrap.dedent(output).lstrip())
|
||||
|
Loading…
Reference in New Issue
Block a user