Skip to content

Commit

Permalink
Merge pull request #1050 from ansible/ttakamiy/wca-unit-test-fix
Browse files Browse the repository at this point in the history
Unit Test failure fix
  • Loading branch information
TamiTakamiya authored May 23, 2024
2 parents 3ba736a + 01b3ca5 commit df1f89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_wisdom/ai/api/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def test_wca_completion_user_not_linked_to_org(self):
mock_model_id=Mock(side_effect=WcaNoDefaultModelId),
)
model_client, model_input = stub
self.mock_wca_client_with(model_client)
self.mock_model_client_with(model_client)
with self.assertLogs(logger='root', level='DEBUG') as log:
r = self.client.post(reverse('completions'), model_input)
self.assertEqual(r.status_code, HTTPStatus.FORBIDDEN)
Expand Down

1 comment on commit df1f89b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClamAV Virus Definition DB Files:
----
total 228964
-rw-r--r--  1 root root        28 May 23 06:07 whitelist.ign2
-rw-r--r--  1 root root 170479789 May 23 06:07 main.cvd
-rw-r--r--  1 root root        69 May 23 06:07 freshclam.dat
-rw-r--r--  1 root root  63656283 May 23 06:07 daily.cvd
-rw-r--r--  1 root root    289733 May 23 06:08 bytecode.cvd
drwxr-xr-x 16 root root      4096 May 23 18:52 ..
drwxr-xr-x  2 root root      4096 May 23 18:52 .
----
File: /var/lib/clamav/bytecode.cvd
Build time: 27 Feb 2024 10:37 -0500
Version: 335
Signatures: 86
Functionality level: 90
Builder: raynman
MD5: 16d388f042f5c44628a66228df427c20
Digital signature: 7fD3mweaw4tqQH9Dl7ZewBLXZBSrLKX5no/rYN/6NQBmhnWUyTBt3uzd7ZjEnIT5yN1ygLwsDcuzoKRoA+syrfk3PcDHf5/h6Wb/d8uikXSALygH5VYAPo2ksV5Pitn3reECJ90q2m9m0CH2VpT1tDkkcVi05LLV5PwBle2Ufpe
Verification OK.
----
File: /var/lib/clamav/daily.cvd
Build time: 22 May 2024 04:29 -0400
Version: 27283
Signatures: 2061473
Functionality level: 90
Builder: raynman
MD5: c680965fada4f2d2a86daabea0a645f6
Digital signature: 1DbxKsv7kw9rpLlalKxi+qeclv9nS39q7Ow3dgy7UMRJOVYyBe9sjFtaRKjAkRQ45nZVjGAyhLl0rZQ6CcH9h7wSYUvzYWrYaZd2f90SnJq2xKCJ67oZ4QbOov4JhS7N8Yk+cBsiOfiHP2UoB2fjuM7Q4Lr5N4IKhudty5MT46g
Verification OK.
----
File: /var/lib/clamav/main.cvd
Build time: 16 Sep 2021 08:32 -0400
Version: 62
Signatures: 6647427
Functionality level: 90
Builder: sigmgr
MD5: 137eccce31aacb21b5a98bb8c21cefd6
Digital signature: twaJBls8V5q64R7QY10AatEtPNuPWoVoxTaNO1jpBg7s5jIMMXpitgG1000YLp6rb0TWkEKjRqxneGTxuxWaWm7XBjsgwX2BRWh/y4fhs7uyImdKRLzQ5y8e2EkSChegF/i8clqfn+1qetq9j4gbktJ3JZpOXPoHlyr2Dv9S/Bg
Verification OK.
----
Scanning Results:
ClamAV 1.0.6/27283/Wed May 22 08:29:37 2024
LibClamAV Warning: Max file-size was set to 4194304000 bytes. Unfortunately, scanning files greater than 2147483647 bytes (2 GiB - 1) is not supported.

----------- SCAN SUMMARY -----------
Known viruses: 8693300
Engine version: 1.0.6
Scanned directories: 31514
Scanned files: 194737
Infected files: 0
Data scanned: 6688.86 MB
Data read: 3521.61 MB (ratio 1.90:1)
Time: 1477.907 sec (24 m 37 s)
Start Date: 2024:05:23 18:53:48
End Date:   2024:05:23 19:18:25

Please sign in to comment.