[WIP] Add unit tests for registering and unregistering SCM tools using API in scmtools/service.py

Review Request #9573 — Created Feb. 2, 2018 and discarded — Latest diff uploaded

Information

Review Board
master

Reviewers

Basic unit tests for registering and unregistering SCM tools have been
added in scmtools/tests/test_registration.py. This tests the API
created last week in scmtools/service.py.

Additionally, any code for adding/removing URL patterns (copied from
hosting services) has been removed from scmtools/service.py, as it
does not seem to apply.

Unit tests in scmtools/tests/test_registration.py:
- Testing SCMTool registration.
- Testing SCMTool unregistration.
- Testing SCMTool unregistration when the registry is empty.
- Testing SCMTool get a registered SCMTool.

    Loading...