Files @ 5a7d52cf084d
Branch filter:

Location: kallithea/rhodecode/tests/api/test_api_hg.py - annotation

Marcin Kuzminski
Added --format into gist CLI

- default --pretty format will give a nice message about gist creation
- api_call shouldn't do any printing let the CLI decide about that
- return pure json with --json format
1
2
3
4
5
6
7
from rhodecode.tests import *
from rhodecode.tests.api.api_base import BaseTestApi


class TestHgApi(BaseTestApi, TestController):
    REPO = HG_REPO
    REPO_TYPE = 'hg'