'Test that we can build a site in a custom folder.'

def test_custom_path(self):

    (ret, out, err) = self.run_cli(['create', self.path, '--skeleton', os.path.join('cactus', 'tests', 'data', 'skeleton')])
    self.assertEqual(0, ret)
    (ret, out, err) = self.run_cli(['build', '--path', self.path], cwd=self.test_dir)
    self.assertEqual(0, ret)
    self.assertIn(os.path.join(self.path, 'config.json'), err)
    (ret, _, _) = self.run_cli(['build', '-d', self.path], cwd=self.test_dir)
    self.assertEqual(0, ret)
    (ret, _, _) = self.run_cli(['build'], cwd=self.test_dir)
    self.assertNotEqual(0, ret)
