From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sun, 26 May 2019 19:31:42 +0200
Subject: Allow one to disable network tests.

---
 tests/test_s3boto3.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_s3boto3.py b/tests/test_s3boto3.py
index 0a42838..5bf822d 100644
--- a/tests/test_s3boto3.py
+++ b/tests/test_s3boto3.py
@@ -5,6 +5,7 @@ except ImportError:
     raise unittest.SkipTest("boto3 package not installed, skipping tests")
 
 import gzip
+import os
 import pickle
 import threading
 from datetime import datetime
@@ -644,6 +645,7 @@ class S3Boto3StorageTests(S3Boto3TestCase):
         self.assertEqual(self.storage._strip_signing_parameters(
             '%s?expires=12345678&signature=Signature' % expected), expected)
 
+    @skipIf('NO_NETWORK' in os.environ, 'Network disabled')
     @skipIf(threading is None, 'Test requires threading')
     def test_connection_threading(self):
         connections = []
