~veebers/juju-ci-tools/adding-rc-upgrade-test

« back to all changes in this revision

Viewing changes to assess_container_networking.py

Cleaned up extra declarations of JujuAssertionError.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
from copy import (
6
6
    copy,
7
7
    deepcopy,
8
 
)
 
8
    )
9
9
import logging
10
10
import re
11
11
import os
19
19
    BootstrapManager,
20
20
    get_random_string,
21
21
    update_env,
22
 
)
 
22
    )
23
23
from jujupy import (
24
24
    KVM_MACHINE,
25
25
    LXC_MACHINE,
26
26
    LXD_MACHINE,
27
 
)
 
27
    )
28
28
from utility import (
 
29
    JujuAssertionError,
29
30
    add_basic_testing_arguments,
30
31
    configure_logging,
31
32
    wait_for_port,
32
 
)
 
33
    )
33
34
 
34
35
 
35
36
__metaclass__ = type
38
39
log = logging.getLogger("assess_container_networking")
39
40
 
40
41
 
41
 
# This needs refactored out to utility
42
 
class JujuAssertionError(AssertionError):
43
 
    """Exception for juju assertion failures."""
44
 
 
45
 
 
46
42
def parse_args(argv=None):
47
43
    """Parse all arguments."""
48
44