diff options
author | Duda Dornelles <dudassdornelles@gmail.com> | 2015-01-22 10:25:40 -0200 |
---|---|---|
committer | Pixpoa pairing <pixpoapairing@pixelated-project.org> | 2015-01-22 10:42:48 -0200 |
commit | a8274b633a62262e65c7d013e61a54541ce07bf8 (patch) | |
tree | ab3172f3fd1ffe9311bd5f1f2b0ccc139bbc14d1 /service/test/unit/bitmask_libraries/certs_test.py | |
parent | 137f1f103cf1bfb76c7e62f2ee9df21d2d1f6223 (diff) |
#224 renaming tests so they get caught by trial runner
Diffstat (limited to 'service/test/unit/bitmask_libraries/certs_test.py')
-rw-r--r-- | service/test/unit/bitmask_libraries/certs_test.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/service/test/unit/bitmask_libraries/certs_test.py b/service/test/unit/bitmask_libraries/certs_test.py deleted file mode 100644 index 8caafe7e..00000000 --- a/service/test/unit/bitmask_libraries/certs_test.py +++ /dev/null @@ -1,19 +0,0 @@ -import unittest - -from pixelated.bitmask_libraries.certs import which_bundle -from pixelated.bitmask_libraries.config import AUTO_DETECT_CA_BUNDLE -from mock import MagicMock, patch - - -class CertsTest(unittest.TestCase): - - @patch('pixelated.bitmask_libraries.certs.os.path.isfile') - def test_that_which_bundle_returns_byte_string(self, mock_isfile): - mock_isfile.return_value = True - config = MagicMock(ca_cert_bundle=AUTO_DETECT_CA_BUNDLE, certs_home='/some/path') - provider = MagicMock(server_name=u'test.leap.net', config=config) - - bundle = which_bundle(provider) - - self.assertEqual('/some/path/test.leap.net.ca.crt', bundle) - self.assertEqual(str, type(bundle)) |