File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -831,11 +831,7 @@ def project_status(self, directory):
831
831
def project_version_info (self , project_path , version ):
832
832
"""Returns JSON with detailed information about a single project version"""
833
833
params = {"version_id" : version }
834
- params = {
835
- "page" : version ,
836
- "per_page" : 1 ,
837
- "descending" : False
838
- }
834
+ params = {"page" : version , "per_page" : 1 , "descending" : False }
839
835
resp = self .get (f"/v1/project/versions/paginated/{ project_path } " , params )
840
836
j = json .load (resp )
841
837
return j ["versions" ]
Original file line number Diff line number Diff line change @@ -1861,9 +1861,9 @@ def test_changesets_download(mc):
1861
1861
assert mp .geodiff .has_changes (diff_file )
1862
1862
assert mp .geodiff .changes_count (diff_file ) == 3
1863
1863
1864
+
1864
1865
def test_version_info (mc ):
1865
- """Check retrieving detailed information about single project version.
1866
- """
1866
+ """Check retrieving detailed information about single project version."""
1867
1867
test_project = "test_version_info"
1868
1868
project = API_USER + "/" + test_project
1869
1869
project_dir = os .path .join (TMP_DIR , test_project ) # primary project dir
You can’t perform that action at this time.
0 commit comments