Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(38)  |  Call(0)  |  Derive(22)  |  Import(16)
A class whose instances are single test cases.

By default, the test code itself should be placed in a method named
'runTest'.

If the fixture may be used for many test cases, create as
many test methods as are needed. When instantiating such a TestCase
subclass, specify in the constructor arguments the name of the test method
that the instance is to execute.
(more...)

src/p/t/ptah-HEAD/ptah/tests/test_util.py   ptah(Download)
from datetime import datetime
from ptah.testing import TestCase
 
 
class TestJson(TestCase):

src/p/t/ptah-HEAD/ptah/tests/test_shutdown.py   ptah(Download)
import signal
import sys
from ptah import config
from ptah.testing import TestCase
 
 
class TestShutdownHandlers(TestCase):

src/p/t/ptah-HEAD/ptah/tests/test_rst.py   ptah(Download)
from ptah import rst
from ptah.testing import TestCase
 
 
class TestRST(TestCase):

src/p/t/ptah-HEAD/ptah/tests/test_password.py   ptah(Download)
# -*- coding: utf-8 -*-
import pform
import ptah
from ptah import config
from ptah.testing import TestCase, PtahTestCase
class TestSHAPasswordManager(TestCase):
 
    def test_password_ssha(self):
        from ptah.password import SSHAPasswordManager
 
class TestPlainPasswordManager(TestCase):
 
    def test_password_plain(self):
        from ptah.password import PlainPasswordManager
 

src/p/t/ptah-HEAD/ptah/tests/test_pagination.py   ptah(Download)
import ptah
from ptah.testing import TestCase
 
 
class TestPagination(TestCase):

src/p/t/ptah-HEAD/ptah/tests/test_init.py   ptah(Download)
from pyramid.config import Configurator
 
import ptah
from ptah.testing import TestCase
 
 
class TestInitializeSql(TestCase):
class TestPtahInit(TestCase):
 
    def test_init_includeme(self):
        config = Configurator()
        config.include('ptah')

src/p/t/ptah-HEAD/ptah/tests/test_directives.py   ptah(Download)
 
from ptah import config
from ptah.testing import TestCase
 
 
class BaseTesting(TestCase):

src/p/t/ptah-HEAD/ptah/tests/test_api.py   ptah(Download)
from ptah.testing import TestCase
 
 
class StopExceptionTesting(TestCase):
 
class LoadpackageTesting(TestCase):
 
    def test_stop_exc(self):
        from ptah import config
 

src/p/t/ptah-0.8.0/ptah/tests/test_util.py   ptah(Download)
from datetime import datetime
from ptah.testing import TestCase
 
 
class TestJson(TestCase):

src/p/t/ptah-0.8.0/ptah/tests/test_shutdown.py   ptah(Download)
import signal
import sys
from ptah import config
from ptah.testing import TestCase
 
 
class TestShutdownHandlers(TestCase):

  1 | 2  Next