Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Create users.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Oct 5, 2019
1 parent 9c060fe commit 1f617dd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions api/data/users.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/path/to/interpreter

"""Users Class"""


class Users:
"""
Contains Users data set
"""

USER_LIST = [{"name": "qxf2",
"password": "qxf2",
"perm": "admin"},
{"name": "eric",
"password": "testqxf2",
"perm": "non_admin"},
{"name": "morgan",
"password": "testqxf2",
"perm": "non_admin"},
{"name": "jack",
"password": "qxf2",
"perm": "non_admin"}]

def get_users(self):
"""
Returns users list
:return:
"""
return self.USER_LIST

0 comments on commit 1f617dd

Please sign in to comment.