Update a couple of the existing tests

This commit is contained in:
Jeff Bradberry
2021-10-19 16:56:46 -04:00
committed by Shane McDonald
parent 1e5231d68b
commit 62d50d27be
3 changed files with 19 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ def test_activity_stream_actor(admin_user):
@pytest.mark.django_db
def test_annon_user_action():
def test_anon_user_action():
with mock.patch('awx.main.signals.get_current_user') as u_mock:
u_mock.return_value = AnonymousUser()
inv = Inventory.objects.create(name='ainventory')