blob: 9f32470a326b8e36cbd586cb47c0cd64557617fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import sys
import os
import unittest
CURDIR = os.path.abspath(os.path.dirname(__file__))
TOPDIR = os.path.split(CURDIR)[0]
sys.path.insert(0, TOPDIR)
from distribute_setup import _python_cmd
class TestPython33BdistEgg(unittest.TestCase):
def test_build_egg(self):
os.chdir(os.path.join(CURDIR, 'python3.3_bdist_egg_test'))
self.assertTrue(_python_cmd("setup.py", "bdist_egg"))
if __name__ == '__main__':
unittest.main()
|