Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
shrapnel
Commits
6d113a2d
Commit
6d113a2d
authored
Mar 20, 2015
by
Mark Peek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move coro_unittest.py into coro/test for use by other tests
Fixes #65
parent
6c2e3e06
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
23 additions
and
23 deletions
+23
-23
coro/test/__init__.py
coro/test/__init__.py
+0
-0
coro/test/coro_unittest.py
coro/test/coro_unittest.py
+0
-0
test/test_accept_many.py
test/test_accept_many.py
+1
-1
test/test_aio.py
test/test_aio.py
+1
-1
test/test_asn1_python.py
test/test_asn1_python.py
+1
-1
test/test_condition_variable.py
test/test_condition_variable.py
+1
-1
test/test_ecdsa.py
test/test_ecdsa.py
+1
-1
test/test_event_queue.py
test/test_event_queue.py
+1
-1
test/test_in_parallel.py
test/test_in_parallel.py
+1
-1
test/test_interrupt.py
test/test_interrupt.py
+1
-1
test/test_isemaphore.py
test/test_isemaphore.py
+1
-1
test/test_lio.py
test/test_lio.py
+1
-1
test/test_local.py
test/test_local.py
+1
-1
test/test_mutex.py
test/test_mutex.py
+1
-1
test/test_notify_of_close.py
test/test_notify_of_close.py
+1
-1
test/test_poller.py
test/test_poller.py
+1
-1
test/test_profile.py
test/test_profile.py
+1
-1
test/test_readv.py
test/test_readv.py
+1
-1
test/test_rw_lock.py
test/test_rw_lock.py
+1
-1
test/test_semaphore.py
test/test_semaphore.py
+1
-1
test/test_signal_handler.py
test/test_signal_handler.py
+2
-2
test/test_socket.py
test/test_socket.py
+1
-1
test/test_with_timeout.py
test/test_with_timeout.py
+1
-1
test/test_writev.py
test/test_writev.py
+1
-1
No files found.
coro/test/__init__.py
0 → 100644
View file @
6d113a2d
test/coro_unittest.py
→
coro/
test/coro_unittest.py
View file @
6d113a2d
File moved
test/test_accept_many.py
View file @
6d113a2d
...
...
@@ -7,7 +7,7 @@ import sys
import
unittest
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
do_sleeps
=
False
...
...
test/test_aio.py
View file @
6d113a2d
...
...
@@ -24,7 +24,7 @@
from
coro
import
oserrors
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
import
os
import
unittest
import
random
...
...
test/test_asn1_python.py
View file @
6d113a2d
# -*- Mode: Python -*-
import
unittest
import
coro_unittest
from
coro.test
import
coro_unittest
from
coro.asn1.python
import
*
from
coro.asn1.ber
import
decode
as
D
...
...
test/test_condition_variable.py
View file @
6d113a2d
...
...
@@ -27,8 +27,8 @@ XXX: This needs additional tests for:
"""
import
coro
import
coro_unittest
import
unittest
from
coro.test
import
coro_unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_ecdsa.py
View file @
6d113a2d
...
...
@@ -4,7 +4,7 @@ import hashlib
import
unittest
from
coro.ssl.openssl
import
ecdsa
import
coro_unittest
from
coro.test
import
coro_unittest
test_key
=
(
'30820113020101042027a4909da59e97e1854a6d5ea26575b953d72da4cf285849ff9acce0d2156c'
...
...
test/test_event_queue.py
View file @
6d113a2d
...
...
@@ -23,7 +23,7 @@
import
unittest
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_in_parallel.py
View file @
6d113a2d
...
...
@@ -21,7 +21,7 @@
"""Unittests for coro.in_parallel."""
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
import
unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_interrupt.py
View file @
6d113a2d
...
...
@@ -21,7 +21,7 @@
"""Unittests for interrupting coroutines."""
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
import
unittest
class
TestException
(
Exception
):
...
...
test/test_isemaphore.py
View file @
6d113a2d
...
...
@@ -21,8 +21,8 @@
"""Unittests for inverted semaphore."""
import
coro
import
coro_unittest
import
unittest
from
coro.test
import
coro_unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_lio.py
View file @
6d113a2d
...
...
@@ -25,7 +25,7 @@ XXX TODO:
"""
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
import
operator
import
os
import
tempfile
...
...
test/test_local.py
View file @
6d113a2d
...
...
@@ -23,7 +23,7 @@
import
unittest
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_mutex.py
View file @
6d113a2d
...
...
@@ -21,7 +21,7 @@
"""Unittests for mutex."""
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
import
unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_notify_of_close.py
View file @
6d113a2d
...
...
@@ -21,10 +21,10 @@
"""Unittests for the notify_of_close functionality."""
import
coro
import
coro_unittest
import
os
import
unittest
from
coro
import
oserrors
from
coro.test
import
coro_unittest
class
ForceSend
(
coro
.
Interrupted
):
pass
...
...
test/test_poller.py
View file @
6d113a2d
...
...
@@ -22,7 +22,7 @@
import
coro
# import coro_process
import
coro_unittest
from
coro.test
import
coro_unittest
import
os
import
unittest
...
...
test/test_profile.py
View file @
6d113a2d
...
...
@@ -28,7 +28,7 @@ import unittest
import
coro
import
coro.profiler
import
coro.print_profile
import
coro_unittest
from
coro.test
import
coro_unittest
# Sam's favorite profile function.
def
tak1
(
x
,
y
,
z
):
...
...
test/test_readv.py
View file @
6d113a2d
...
...
@@ -25,7 +25,7 @@ import sys
import
unittest
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
do_sleeps
=
False
...
...
test/test_rw_lock.py
View file @
6d113a2d
...
...
@@ -21,8 +21,8 @@
"""Unittests for read-write lock."""
import
coro
import
coro_unittest
import
unittest
from
coro.test
import
coro_unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_semaphore.py
View file @
6d113a2d
...
...
@@ -21,8 +21,8 @@
"""Unittests for semaphore."""
import
coro
import
coro_unittest
import
unittest
from
coro.test
import
coro_unittest
class
Test
(
unittest
.
TestCase
):
...
...
test/test_signal_handler.py
View file @
6d113a2d
# -*- Mode: Python -*-
import
coro
import
coro_unittest
import
unittest
from
coro
import
signal_handler
import
os
import
signal
from
coro
import
signal_handler
from
coro.test
import
coro_unittest
signal_caught_flag
=
False
...
...
test/test_socket.py
View file @
6d113a2d
...
...
@@ -25,7 +25,7 @@ import sys
import
unittest
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
class
TestServer
:
...
...
test/test_with_timeout.py
View file @
6d113a2d
...
...
@@ -7,7 +7,7 @@ import unittest
import
os
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
class
TestWithTimeout
(
unittest
.
TestCase
):
...
...
test/test_writev.py
View file @
6d113a2d
...
...
@@ -25,7 +25,7 @@ import sys
import
unittest
import
coro
import
coro_unittest
from
coro.test
import
coro_unittest
current_buffer
=
''
finished
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment