# Path: sprinter/testtools.py
# class FormulaTest(object):
# 
#     def setup(self, **kw):
#         self.environment, self.temp_directory = create_mock_environment(**kw)
#         # adding some extra mocking
#         self.directory = self.environment.directory
#         self.environment.instantiate_features()
# 
#     def tearDown(self):
#         shutil.rmtree(self.temp_directory)


import httpretty
import os
import shutil
import tempfile
import sprinter.lib as lib
from mock import Mock, patch
from nose.tools import ok_
from sprinter.testtools import FormulaTest
from __future__ import unicode_literals

source_config = """
"""

target_config = """
[github]
formula = sprinter.formula.ssh
host = github.com
keyname = github
nopassphrase = true
type = rsa
hostname = github.com
user = toumorokoshi
create = false
use_global_ssh = yes

[port]
formula = sprinter.formula.ssh
host = github.com
keyname = github
nopassphrase = true
type = rsa
hostname = github.com
user = toumorokoshi
create = false
port = 4444

# Path: sprinter/testtools.py
# class FormulaTest(object):
# 
#     def setup(self, **kw):
#         self.environment, self.temp_directory = create_mock_environment(**kw)
#         # adding some extra mocking
#         self.directory = self.environment.directory
#         self.environment.instantiate_features()
# 
#     def tearDown(self):
#         shutil.rmtree(self.temp_directory)


# Path: sprinter/formula/tests/test_ssh.py
import httpretty
import os
import shutil
import tempfile
import sprinter.lib as lib
from mock import Mock, patch
from nose.tools import ok_
from sprinter.testtools import FormulaTest

from __future__ import unicode_literals

source_config = """
"""

target_config = """
[github]
formula = sprinter.formula.ssh
host = github.com
keyname = github
nopassphrase = true
type = rsa
hostname = github.com
user = toumorokoshi
create = false
use_global_ssh = yes

[port]
formula = sprinter.formula.ssh
host = github.com
keyname = github
nopassphrase = true
type = rsa
hostname = github.com
user = toumorokoshi
create = false
port = 4444

use_global_ssh = no