'directory: startapp creates the correct directory'

def test_setup_environ(self):

    test_dir = os.path.dirname(os.path.dirname(__file__))
    args = ['startapp', 'settings_test']
    (out, err) = self.run_django_admin(args, 'settings')
    self.assertNoOutput(err)
    self.assertTrue(os.path.exists(os.path.join(test_dir, 'settings_test')))
    shutil.rmtree(os.path.join(test_dir, 'settings_test'))
