~ubuntu-branches/ubuntu/saucy/pyzmq/saucy-proposed

« back to all changes in this revision

Viewing changes to zmq/tests/test_imports.py

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-05-12 13:59:20 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20130512135920-1d2md9w425iq3sb6
Tags: 13.1.0-1
* New upstream release built with zeromq3 (Closes: #698830)
  - drop all patches
* workaround-gevent.patch: workaround issue with gevent < 1.0
* noncopysend-test.patch: avoid uninitialized values in tests
* update copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        
29
29
    def test_core(self):
30
30
        """test core imports"""
31
 
        import zmq.core
32
 
        from zmq.core import constants
33
 
        from zmq.core import error
34
 
        from zmq.core import version
35
 
        from zmq.core import context
36
 
        from zmq.core import socket
37
 
        from zmq.core import message
38
 
        from zmq.core import stopwatch
39
 
        from zmq.core import device
 
31
        from zmq import Context
 
32
        from zmq import Socket
 
33
        from zmq import Poller
 
34
        from zmq import Frame
 
35
        from zmq import constants
 
36
        from zmq import device, proxy
 
37
        from zmq import Stopwatch
 
38
        from zmq import ( 
 
39
            zmq_version,
 
40
            zmq_version_info,
 
41
            pyzmq_version,
 
42
            pyzmq_version_info,
 
43
        )
40
44
    
41
45
    def test_devices(self):
42
46
        """test device imports"""
53
57
    def test_eventloop(self):
54
58
        """test eventloop imports"""
55
59
        import zmq.eventloop
56
 
        from zmq.eventloop import stack_context
57
60
        from zmq.eventloop import ioloop
58
61
        from zmq.eventloop import zmqstream
59
 
        from zmq.eventloop.platform import auto
 
62
        from zmq.eventloop.minitornado.platform import auto
 
63
        from zmq.eventloop.minitornado import ioloop
60
64
    
61
65
    def test_utils(self):
62
66
        """test util imports"""