~veebers/juju-ci-tools/model_migration_check_all_units_of_charm

« back to all changes in this revision

Viewing changes to assess_user_grant_revoke.py

  • Committer: Andrew Beach
  • Date: 2016-09-13 21:33:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: andrew.beach@canonical.com-20160913213320-02yl6ps0x52swnwt
Cleaned up duplicate declarations of JujuAssertionError.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
from deploy_stack import (
25
25
    BootstrapManager,
26
 
)
 
26
    )
27
27
from utility import (
 
28
    JujuAssertionError,
28
29
    add_basic_testing_arguments,
29
30
    configure_logging,
30
31
    temp_dir,
31
 
)
 
32
    )
32
33
 
33
34
__metaclass__ = type
34
35
 
61
62
SHARE_LIST_CTRL_ADMIN["adminuser@local"] = {"access": "admin"}
62
63
 
63
64
 
64
 
# This needs refactored out to utility
65
 
class JujuAssertionError(AssertionError):
66
 
    """Exception for juju assertion failures."""
67
 
 
68
 
 
69
65
def assert_equal(found, expected):
70
66
    found = sorted(found)
71
67
    expected = sorted(expected)