From 5be951440a1939e55adfe70c0879b0a16ddb3368 Mon Sep 17 00:00:00 2001 From: James Page Date: Thu, 30 Jun 2016 09:59:50 +0100 Subject: [PATCH] Switch test dependency to mox3 mox is pretty much unmaintained these days, however the OpenStack project are actively maintaining mox3 (a Python 3 compatibile fork with some other improvements). websockify seems quite happy to use mox3 instead, so switch the test dependency and associated imports to use mox3. --- test-requirements.txt | 2 +- tests/test_websocket.py | 2 +- tests/test_websocketproxy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 93207c1..905c2e7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,2 +1,2 @@ -mox +mox3 nose diff --git a/tests/test_websocket.py b/tests/test_websocket.py index 9d538db..d8acb4f 100644 --- a/tests/test_websocket.py +++ b/tests/test_websocket.py @@ -22,7 +22,7 @@ import select import shutil import socket import ssl -import stubout +from mox3 import stubout import sys import tempfile import unittest diff --git a/tests/test_websocketproxy.py b/tests/test_websocketproxy.py index 92fd5db..8e37138 100644 --- a/tests/test_websocketproxy.py +++ b/tests/test_websocketproxy.py @@ -20,7 +20,7 @@ import unittest import unittest import socket -import stubout +from mox3 import stubout from websockify import websocket from websockify import websocketproxy