You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
564 B

#! /usr/bin/env python
# -*- coding: utf-8 -*-
# S.D.G
"""
Test launchpad connector
"""
# Imports
import json
import phabricator
from lugito.connectors.launchpad import LPConnector
# Setup ###############################################################
TEST_DIR = os.path.dirname(__file__)
# Force phabricator to use the ./tests/.arcconfig file
TEST_CONFIG = os.path.join(TEST_DIR, '.arcconfig')
with open(TEST_CONFIG, 'r') as f:
phabricator.ARCRC = json.load(f)
# Tests ###############################################################
def test_init()