Skip to content

Commit cb593d4

Browse files
committed
updates tests
1 parent 9cbe0e1 commit cb593d4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/admin/test_admin_smoke.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ def extend(self, __iterable: "Iterable[Any]") -> None:
4545
GLOBAL_EXCLUDED_BUTTONS = RegexList(
4646
[
4747
r"social.SocialProviderAdmin:test",
48-
r"bitcaster.*:lock",
49-
r"bitcaster.*:unlock",
5048
r"hope_flex_fields.FieldsetAdmin:detect_changes",
5149
r"country_workspace.CountryHouseholdAdmin:import_file",
5250
r".*:sync",
@@ -187,7 +185,7 @@ def test_admin_changeform(app: "DjangoTestApp", model_admin: "ModelAdmin[Model]"
187185
assert res.status_code in [302, 200]
188186

189187

190-
@pytest.mark.skip_models("constance.Config", "bitcaster.MediaFile")
188+
@pytest.mark.skip_models("constance.Config")
191189
def test_admin_add(app: "DjangoTestApp", model_admin: "ModelAdmin[Model]") -> None:
192190
url = reverse_model_admin(model_admin, "add")
193191
if model_admin.has_add_permission(Mock(user=app._user)):
@@ -198,7 +196,7 @@ def test_admin_add(app: "DjangoTestApp", model_admin: "ModelAdmin[Model]") -> No
198196
pytest.skip("No 'add' permission")
199197

200198

201-
@pytest.mark.skip_models("constance.Config", "webpush.Browser", "bitcaster.Organization")
199+
@pytest.mark.skip_models("constance.Config")
202200
def test_admin_delete(
203201
app: "DjangoTestApp",
204202
model_admin: "ModelAdmin[Model]",
@@ -214,7 +212,6 @@ def test_admin_delete(
214212
pytest.skip("No 'delete' permission")
215213

216214

217-
@pytest.mark.skip_buttons("bitcaster.EventAdmin:subscribe")
218215
def test_admin_buttons(
219216
app: "DjangoTestApp",
220217
model_admin: "ExtraButtonsMixin",

0 commit comments

Comments
 (0)