1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-25 07:38:54 +02:00

Run tests via calling 'setup.py test'

This commit is contained in:
2022-02-17 13:28:47 +01:00
parent cb4b2389a6
commit 25a6e04e2b
19 changed files with 31 additions and 81 deletions

View File

@@ -4,10 +4,10 @@ import osc.oscerr
import os
import re
import sys
from common import GET, POST, OscTestCase, addExpectedRequest, EXPECTED_REQUESTS
from .common import GET, POST, OscTestCase, addExpectedRequest, EXPECTED_REQUESTS
FIXTURES_DIR = os.path.join(os.getcwd(), 'prdiff_fixtures')
FIXTURES_DIR = os.path.join(os.path.dirname(__file__), 'prdiff_fixtures')
API_URL = 'http://localhost/'
UPSTREAM = 'some:project'
BRANCH = 'home:user:branches:' + UPSTREAM