Skip to content

Commit

Permalink
removing interface dependency and docker version
Browse files Browse the repository at this point in the history
  • Loading branch information
nilbacardit26 committed Aug 2, 2024
1 parent 2c35bfc commit a3055a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions guillotina_audit/tests/test_audit_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,7 @@ async def test_permissions_modified_without_indexing(guillotina_es):
# There should be the same number of documents since indexing_permission_changes is False
assert len(resp["hits"]["hits"]) == 2
response, status = await guillotina_es(
"PATCH",
"/db/guillotina/foo_item",
data=json.dumps({"title": "Another title"})
"PATCH", "/db/guillotina/foo_item", data=json.dumps({"title": "Another title"})
)
assert status == 204
await asyncio.sleep(2)
Expand Down
2 changes: 1 addition & 1 deletion guillotina_audit/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from guillotina.interfaces import IObjectDuplicatedEvent
from guillotina.interfaces import IObjectModifiedEvent
from guillotina.interfaces import IObjectMovedEvent
from guillotina.interfaces import IObjectRemovedEvent
from guillotina.interfaces import IObjectPermissionsModifiedEvent
from guillotina.interfaces import IObjectRemovedEvent
from guillotina.utils.auth import get_authenticated_user
from guillotina.utils.content import get_content_path
from guillotina_audit.models import AuditDocument
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage",
"pytest-cov",
"pytest-docker-fixtures[pg]>=1.3.0",
"docker>=6.0.0,<=6.1.3",
"docker",
]


Expand Down Expand Up @@ -40,7 +40,6 @@
"guillotina>=6.0.0a16",
"pydantic",
"elasticsearch[async]>=8.0.0,<=8.12.0",
"zope.interface==5.1.0" # TODO: remove once guillotina has solved this
],
tests_require=test_requires,
extras_require={"test": test_requires},
Expand Down

0 comments on commit a3055a1

Please sign in to comment.