fixed imports in db_pool_test, timer_test and tpool_test
This commit is contained in:
@@ -24,7 +24,8 @@
|
|||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
from eventlet import api, coros, tests
|
from eventlet import api, coros
|
||||||
|
from greentest import tests
|
||||||
from eventlet import db_pool
|
from eventlet import db_pool
|
||||||
|
|
||||||
class DBTester(object):
|
class DBTester(object):
|
||||||
|
|||||||
@@ -24,7 +24,8 @@ THE SOFTWARE.
|
|||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from eventlet import api, tests, timer
|
from eventlet import api, timer
|
||||||
|
from greentest import tests
|
||||||
|
|
||||||
class TestTimer(tests.TestCase):
|
class TestTimer(tests.TestCase):
|
||||||
mode = 'static'
|
mode = 'static'
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os, socket, time, threading
|
import time
|
||||||
from eventlet import coros, api, tpool, tests
|
from eventlet import coros, api, tpool
|
||||||
|
from greentest import tests
|
||||||
|
|
||||||
from eventlet.tpool import erpc
|
|
||||||
from sys import stdout
|
from sys import stdout
|
||||||
|
|
||||||
import random
|
import random
|
||||||
|
|||||||
Reference in New Issue
Block a user