Skip to content

Commit 876c78a

Browse files
committed
fix tests
Signed-off-by: Sreekanth <[email protected]>
1 parent c3a757c commit 876c78a

File tree

1 file changed

+3
-3
lines changed
  • packages/pynumaflow/tests/source

1 file changed

+3
-3
lines changed

packages/pynumaflow/tests/source/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ async def read_handler(self, datum: ReadRequest, output: NonBlockingIterator):
2929
offset = mock_offset()
3030
event_time = mock_event_time()
3131
metadata = UserMetadata()
32-
metadata.add("custom_info", "custom_key", b"custom_value")
33-
metadata.add("custom_info", "custom_key2", b"custom_value2")
34-
metadata.add("test_info", "test_key", b"test_value")
32+
metadata.add_key("custom_info", "custom_key", b"custom_value")
33+
metadata.add_key("custom_info", "custom_key2", b"custom_value2")
34+
metadata.add_key("test_info", "test_key", b"test_value")
3535
for i in range(10):
3636
await output.put(
3737
Message(

0 commit comments

Comments
 (0)