File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44
55class TestGitlabUrlExtractor (unittest .TestCase ):
6- NATURAL_URL = "http://192.168.85.26/quali_natti/terraformstuff/-/tree/test-branch/rds"
6+ RAW_URL = "http://192.168.85.26/quali_natti/terraformstuff/-/tree/test-branch/rds"
77 API_URL = "http://192.168.85.26/api/v4/projects/2/repository/archive.zip?path=rds"
88
99 def test_raw_url (self ):
10- url_data = gitlab_downloader .extract_data_from_raw_url (self .NATURAL_URL )
10+ url_data = gitlab_downloader .extract_data_from_raw_url (self .RAW_URL )
1111 assert url_data
1212
1313 def test_api_url_extract (self ):
@@ -16,7 +16,7 @@ def test_api_url_extract(self):
1616
1717 def test_api_validate (self ):
1818 assert gitlab_downloader .is_gitlab_api_url (self .API_URL )
19- assert not gitlab_downloader .is_gitlab_api_url (self .NATURAL_URL )
19+ assert not gitlab_downloader .is_gitlab_api_url (self .RAW_URL )
2020
2121 def test_raises (self ):
2222 url_arg = ""
You can’t perform that action at this time.
0 commit comments