c2cgeoportal-admin 2.8.1.190__py3-none-any.whl → 2.8.1.191__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: c2cgeoportal-admin
3
- Version: 2.8.1.190
3
+ Version: 2.8.1.191
4
4
  Summary: c2cgeoportal admin
5
5
  Home-page: https://github.com/camptocamp/c2cgeoportal/
6
6
  Author: Camptocamp
@@ -86,10 +86,10 @@ tests/test_role.py,sha256=eD7dXwP7RjCg14T9ncTfJuMUU4caY9yW3l5ka-gtCd4,12776
86
86
  tests/test_themes.py,sha256=uhzHe2TbuNoLnL4VdYATPnOqtnZWWPKsvUTq6GUxwiU,16207
87
87
  tests/test_themes_ordering.py,sha256=T4Esr0C3EN5UdeEyYLa4ePvEn-bx3RNPkGBK3lDFoBo,2243
88
88
  tests/test_treegroup.py,sha256=Plv119G4TWlurWLE7Z1mWGeHHPScK_fWKcDmDzMUlIU,576
89
- tests/test_user.py,sha256=xD0yoJa_babVK69hHQzDkTs6wRWBMXFGD8k0-DfOd-4,12814
89
+ tests/test_user.py,sha256=TRtWZaHI7Aua0Tmdo5sqA4Fo8ktWquz3C01UN7a8fWs,12860
90
90
  tests/themes_ordering.py,sha256=UdydcRIzWC6RRnTMfl2JM_250DHuAhGC7rijHqfy7lk,1342
91
- c2cgeoportal_admin-2.8.1.190.dist-info/METADATA,sha256=j0bRKsWcjZ2DOMY2LGFbUlSVnl37ynutS3JGD2Ymh2s,1597
92
- c2cgeoportal_admin-2.8.1.190.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
93
- c2cgeoportal_admin-2.8.1.190.dist-info/entry_points.txt,sha256=kz-7AnYsbtK04jTpGUtcOeu2NbQiXW3CQV3AjyC32tw,165
94
- c2cgeoportal_admin-2.8.1.190.dist-info/top_level.txt,sha256=DgcTJgTvpJUB8HqwYB14PdLBPAOAFk0B8oqnSTFoAU4,25
95
- c2cgeoportal_admin-2.8.1.190.dist-info/RECORD,,
91
+ c2cgeoportal_admin-2.8.1.191.dist-info/METADATA,sha256=8bsdfp1vGHcY--yiwnwTSSwNOcaZFReRh2uGlbZEVqs,1597
92
+ c2cgeoportal_admin-2.8.1.191.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
93
+ c2cgeoportal_admin-2.8.1.191.dist-info/entry_points.txt,sha256=kz-7AnYsbtK04jTpGUtcOeu2NbQiXW3CQV3AjyC32tw,165
94
+ c2cgeoportal_admin-2.8.1.191.dist-info/top_level.txt,sha256=DgcTJgTvpJUB8HqwYB14PdLBPAOAFk0B8oqnSTFoAU4,25
95
+ c2cgeoportal_admin-2.8.1.191.dist-info/RECORD,,
tests/test_user.py CHANGED
@@ -211,7 +211,7 @@ class TestUser(AbstractViewsTests):
211
211
  @patch("c2cgeoportal_admin.views.users.pwgenerator.generate")
212
212
  def test_duplicate(self, pw_gen_mock, smtp_mock, users_test_data, test_app, dbsession):
213
213
  sender_mock = MagicMock()
214
- smtp_mock.return_value = sender_mock
214
+ smtp_mock.return_value.__enter__.return_value = sender_mock
215
215
  pw_gen_mock.return_value = "basile"
216
216
  from c2cgeoportal_commons.models.static import User
217
217
 
@@ -256,7 +256,7 @@ class TestUser(AbstractViewsTests):
256
256
  from c2cgeoportal_commons.models.static import Log, User
257
257
 
258
258
  sender_mock = MagicMock()
259
- smtp_mock.return_value = sender_mock
259
+ smtp_mock.return_value.__enter__.return_value = sender_mock
260
260
  pw_gen_mock.return_value = "basile"
261
261
 
262
262
  roles = users_test_data["roles"]