Open bRitch022 opened 2 years ago
I can setup CI for PRs. You need to run pip install .
before running pytest
. This is the test failure that I am getting:
> raise ConnectionError(e, request=request)
E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='git.example.com', port=443): Max retries exceeded with url: /api/v4/issues?searchWhat%20are%20the%20Spice%20Girls%20doing%20in%20my%20spice%20dispenser?&in=title (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6960948190>: Failed to establish a new connection: [Errno -2] Name or service not known'))
venv/lib/python3.10/site-packages/requests/adapters.py:519: ConnectionError
If you can get the tests passing, then I'll do a review.
I can setup CI for PRs. You need to run
pip install .
before runningpytest
.
I was sure to run the pip install .
Looks like it was successful as well, but no luck in running the test
I can setup CI for PRs.
If you can get the tests passing, then I'll do a review.
Might not be a bad idea to set up a Gitlab container for this: https://docs.gitlab.com/ee/install/docker.html
I believe the host='git.example.com'
is posing an issue. I can't get a passing test even though I have tried:
test_bugzilla2gitlab.py
Related issues:
Summary of changes:
gitlab_skip_pre_migrated_issues
in config.pytitle
.issue
in the Migrator, which will not save the issue if it is already migratedMigrator::migrate()
method to see if any bugs were skippedTesting
** Caveat -- This was tested on a production application and works very successfully. However, I could not get the pytest to successfully execute with pytest nor pytest-3. This is the output: