# Path: handson/main.py
# class HandsOn(object):
#     def __init__(self):
#     def run(self, argv):
# 
# Path: handson/test_setup.py
# class SetUp(object):
# 
#     def setUp(self):
#         # try:
#         #     os.remove('./aws.yaml')
#         # except OSError:
#         #     pass
#         pass
# 
#     def reset_yaml(self):
#         myyaml.initialize_internal_buffers()
#         myyaml.yaml_file_name('./aws.yaml')
#         myyaml.load()


import logging
import unittest
from handson import main
from handson.test_setup import SetUp
from mock import patch
from yaml.parser import ParserError
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#



def mock_connect(*_):
    return 'DummyValue'


def mock_connect_ec2(*_):
    return 'DummyValue'


class MockMyYaml(object):

    def write(self):
        return True


class MockVPCConnection(object):

    def create_vpc(self, *_):
        return {'id': 'DummyID', 'cidr_block': '10.0.0.0/16'}

    def get_all_vpcs(self, *_):
        return ['DummyValue']



# Path: handson/main.py
# class HandsOn(object):
#     def __init__(self):
#     def run(self, argv):
# 
# Path: handson/test_setup.py
# class SetUp(object):
# 
#     def setUp(self):
#         # try:
#         #     os.remove('./aws.yaml')
#         # except OSError:
#         #     pass
#         pass
# 
#     def reset_yaml(self):
#         myyaml.initialize_internal_buffers()
#         myyaml.yaml_file_name('./aws.yaml')
#         myyaml.load()


# Path: tests/test_main.py
import logging
import unittest
from handson import main
from handson.test_setup import SetUp
from mock import patch
from yaml.parser import ParserError

# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#



def mock_connect(*_):
    return 'DummyValue'


def mock_connect_ec2(*_):
    return 'DummyValue'


class MockMyYaml(object):

    def write(self):
        return True


class MockVPCConnection(object):

    def create_vpc(self, *_):
        return {'id': 'DummyID', 'cidr_block': '10.0.0.0/16'}

    def get_all_vpcs(self, *_):
        return ['DummyValue']



class TestHandsOn(SetUp, unittest.TestCase):