Skip to content

Commit

Permalink
hotfix/8.8.1 - altera versao
Browse files Browse the repository at this point in the history
  • Loading branch information
ollyvergithub committed Sep 5, 2023
1 parent c9d5522 commit 65db1dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sme_ptrf_apps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "8.8.0"
__version__ = "8.8.1"

__version_info__ = tuple(
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ def test_delete_vinculo_usuario_unidade(

User = get_user_model()
u = User.objects.filter(username=usuario_duas_unidades.username).first()
assert list(u.unidades.values_list('codigo_eol', flat=True)) == [unidade.codigo_eol, unidade_diferente.codigo_eol ]

assert unidade.codigo_eol in list(u.unidades.values_list('codigo_eol', flat=True))
assert unidade_diferente.codigo_eol in list(u.unidades.values_list('codigo_eol', flat=True))

jwt_authenticated_client_u.delete(
f"/api/usuarios/{usuario_duas_unidades.id}/unidades/{unidade.codigo_eol}/",
Expand Down

0 comments on commit 65db1dc

Please sign in to comment.