Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Breno Costa <brenocosta0901@gmail.com>
  • Loading branch information
breno-costa committed May 8, 2024
1 parent e0b2df2 commit 410d5eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/tests/unit/infra/online_store/test_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_generate_hset_keys_for_features(
actual = redis_online_store._generate_hset_keys_for_features(feature_view)
expected = (
["feature_10", "feature_11", "feature_12", "_ts:feature_view_1"],
[b"&m_9", b"\xc37\x9a\xbf", b"wr\xb5d", b" \xf0v\xde", "_ts:feature_view_1"],
[b"&m_9", b"\xc37\x9a\xbf", b"wr\xb5d", "_ts:feature_view_1"],
)
assert actual == expected

Expand All @@ -73,7 +73,7 @@ def test_generate_hset_keys_for_features_with_requested_features(
)
expected = (
["my-feature-view:feature1", "_ts:feature_view_1"],
[b"Si\x86J", b" \xf0v\xde", "_ts:feature_view_1"],
[b"Si\x86J", "_ts:feature_view_1"],
)
assert actual == expected

Expand Down

0 comments on commit 410d5eb

Please sign in to comment.