Skip to content

Commit 959d723

Browse files
committed
Integrations fix
1 parent f650a60 commit 959d723

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/superannotate/lib/core/usecases/integrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(
2626

2727
def execute(self) -> Response:
2828
integrations = self._integrations.get_all()
29-
integrations = list(sorted(integrations, key=lambda x: x.created_at))
29+
integrations = list(sorted(integrations, key=lambda x: x.createdAt))
3030
integrations.reverse()
3131
self._response.data = integrations
3232
return self._response

src/superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.3.2.dev2"
1+
__version__ = "4.3.2.dev3"

tests/integration/integrations/test_get_integrations.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TestGetIntegrations(BaseTestCase):
1818
def folder_path(self):
1919
return os.path.join(dirname(dirname(__file__)), self.TEST_FOLDER_PATH)
2020

21-
@pytest.mark.skip(reason="Need to create integration before run")
2221
def test_get(self):
2322
integrations = sa.get_integrations()
2423
integrations = sa.attach_items_from_integrated_storage(self.PROJECT_NAME, integrations[0]["name"])

0 commit comments

Comments
 (0)