Skip to content

Commit e19b243

Browse files
committed
rename test extractor class attribute
1 parent 1682e97 commit e19b243

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

package/tests/unit_tests/test_gitlab_url_extractor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44

55
class 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 = ""

0 commit comments

Comments
 (0)