Show More
@@ -719,6 +719,16 b' def vcsbackend_random(vcsbackend_git):' | |||||
719 | return vcsbackend_git |
|
719 | return vcsbackend_git | |
720 |
|
720 | |||
721 |
|
721 | |||
|
722 | @pytest.fixture | |||
|
723 | def vcsbackend_stub(vcsbackend_git): | |||
|
724 | """ | |||
|
725 | Use this to express that your test just needs a stub of a vcsbackend. | |||
|
726 | ||||
|
727 | Plan is to eventually implement an in-memory stub to speed tests up. | |||
|
728 | """ | |||
|
729 | return vcsbackend_git | |||
|
730 | ||||
|
731 | ||||
722 | class VcsBackend(object): |
|
732 | class VcsBackend(object): | |
723 | """ |
|
733 | """ | |
724 | Represents the test configuration for one supported vcs backend. |
|
734 | Represents the test configuration for one supported vcs backend. |
General Comments 0
You need to be logged in to leave comments.
Login now