Orbits
1
Main Page
Related Pages
Namespaces
Classes
Files
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
setuptools
tests
test_test
Classes
|
Variables
setuptools.tests.test_test Namespace Reference
Classes
class
TestTestTest
Variables
string
SETUP_PY
string
NS_INIT
string
TEST_PY
Variable Documentation
tuple setuptools.tests.test_test.NS_INIT
Initial value:
1
=
"""# -*- coding: Latin-1 -*-
2
# Söme Arbiträry Ünicode to test Issüé 310
3
try:
4
__import__('pkg_resources').declare_namespace(__name__)
5
except ImportError:
6
from pkgutil import extend_path
7
__path__ = extend_path(__path__, __name__)
8
"""
string
setuptools.tests.test_test.SETUP_PY
Initial value:
1
=
"""\
2
from setuptools import setup
3
4
setup(name='foo',
5
packages=['name', 'name.space', 'name.space.tests'],
6
namespace_packages=['name'],
7
test_suite='name.space.tests.test_suite',
8
)
9
"""
string
setuptools.tests.test_test.TEST_PY
Initial value:
1
=
"""import unittest
2
3
class TestTest(unittest.TestCase):
4
def test_test(self):
5
print "Foo" # Should fail under Python 3 unless 2to3 is used
6
7
test_suite = unittest.makeSuite(TestTest)
8
"""
Fri Nov 21 2014 12:23:42
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.