-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added branch * should pull from appropriate branch * not sure what I was thinking * need to revert this for the sed command to work * need to revert again * fixed test * added group test * hopefully we have a travis fix here * fixed test * updated * updated group test * updated group test * cleaned up code
- Loading branch information
1 parent
9003ceb
commit 7128414
Showing
4 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
__default: local | ||
local: | ||
url: "http://localhost:8080/apollo" | ||
username: "[email protected]" | ||
password: "password" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,24 +51,18 @@ def test_get_group_by_name(self): | |
def test_get_group_creator(self): | ||
|
||
creator = wa.groups.get_group_creator('temp_group') | ||
|
||
user_info = wa.users.show_user(creator) | ||
|
||
user_info = wa.users.show_user(creator['creator']) | ||
assert user_info['username'] == "[email protected]" | ||
|
||
def test_get_group_admin(self): | ||
|
||
creator = wa.groups.get_group_admin('temp_group') | ||
|
||
user_info = wa.users.show_user(creator) | ||
|
||
assert user_info['username'] == "[email protected]" | ||
assert creator[0]['username'] == "[email protected]" | ||
|
||
def test_create_group(self): | ||
|
||
res = wa.groups.create_group("trash_group") | ||
self.waitGroupCreated('trash_group') | ||
|
||
res = wa.groups.get_groups('trash_group') | ||
|
||
assert len(res) == 1 | ||
|