From fc31b215799361b8b44ab113b27ef93e91909105 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Thu, 9 Jan 2025 15:35:07 -0500 Subject: [PATCH] update existing tests --- tests/unitary/utils/test_cache.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unitary/utils/test_cache.py b/tests/unitary/utils/test_cache.py index 3ef4395c..f4286133 100644 --- a/tests/unitary/utils/test_cache.py +++ b/tests/unitary/utils/test_cache.py @@ -47,19 +47,19 @@ def test_cache_vvm(): assert mock_compile.call_count == 0 # First call should hit vvm.compile_source - test1 = _loads_partial_vvm(code, version, "fake_file.vy") + test1 = _loads_partial_vvm(code, version, None, "fake_file.vy") assert mock_compile.call_count == 1 # Second call should hit the cache - test2 = _loads_partial_vvm(code, version, "fake_file.vy") + test2 = _loads_partial_vvm(code, version, None, "fake_file.vy") assert mock_compile.call_count == 1 # using a different filename should also hit the cache - test3 = _loads_partial_vvm(code, version, "fake_fileeeee.vy") + test3 = _loads_partial_vvm(code, version, None, "fake_fileeeee.vy") assert mock_compile.call_count == 1 # using a different vyper version should *miss* the cache - _loads_partial_vvm(code, version2, "fake_file.vy") + _loads_partial_vvm(code, version2, None, "fake_file.vy") assert mock_compile.call_count == 2 assert test1.abi == test2.abi == test3.abi