We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 977129c + 9188237 commit e09b5f3Copy full SHA for e09b5f3
2 files changed
digitalocean/Manager.py
@@ -215,7 +215,7 @@ def get_all_tags(self):
215
"""
216
This method returns a list of all tags.
217
218
- data = self.get_data("tags/")
+ data = self.get_data("tags")
219
return [
220
Tag(token=self.token, **tag) for tag in data['tags']
221
]
digitalocean/tests/test_manager.py
@@ -487,7 +487,7 @@ def test_get_all_volumes(self):
487
def test_get_all_tags(self):
488
data = self.load_from_file('tags/all.json')
489
490
- url = self.base_url + 'tags/'
+ url = self.base_url + 'tags'
491
responses.add(responses.GET, url,
492
body=data,
493
status=200,
0 commit comments