Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8e1ebe155f
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.496 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import sys
import subprocess
from subprocess import Popen
import unittest

from nose.tools import eq_

from tests import PLAYDOH


class TestInstall(unittest.TestCase):

    def test(self):
        # sys.executable is our tox virtualenv that includes
        # compiled/dev modules.
        p = Popen([sys.executable, 'manage.py', 'test'],
                   stderr=subprocess.STDOUT, stdout=subprocess.PIPE,
                   cwd=PLAYDOH)
        print p.stdout.read()
        eq_(p.wait(), 0)
Something went wrong with that request. Please try again.