Skip svn test to isolate issue
This commit is contained in:
parent
261f4886fd
commit
f602b2d5b1
1 changed files with 4 additions and 3 deletions
|
|
@ -156,13 +156,14 @@ class TestGetRepoChangeset(object):
|
|||
expected = "commit_id must be a string value got <class 'int'> instead"
|
||||
assert_error(id_, expected, given=response.body)
|
||||
|
||||
@pytest.mark.skip(reason="This test is currently broken")
|
||||
@pytest.mark.parametrize("details", ["basic", "extended", "full"])
|
||||
def test_get_repo_changeset_empty_revs(self, details, backend_svn):
|
||||
"""
|
||||
Test case for repositories with empty revisions.
|
||||
Ensures that no crashes occur and an empty list is returned.
|
||||
"""
|
||||
empty_rev_id = "1000"
|
||||
empty_rev_id = "1000"
|
||||
|
||||
__, params = build_data(
|
||||
self.apikey,
|
||||
|
|
@ -172,9 +173,9 @@ class TestGetRepoChangeset(object):
|
|||
limit=10,
|
||||
details=details,
|
||||
)
|
||||
|
||||
|
||||
response = api_call(self.app, params)
|
||||
result = response.json["result"]
|
||||
|
||||
assert isinstance(result, list)
|
||||
assert isinstance(result, list)
|
||||
assert len(result) == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue