Skip to content

Commit

Permalink
refactor m*
Browse files Browse the repository at this point in the history
Reviewed By: mofa28

Differential Revision: D61433569

fbshipit-source-id: 670b1d6c48f3373509e508b8a83a7dfdcc6fbdd0
  • Loading branch information
annakukliansky authored and facebook-github-bot committed Aug 21, 2024
1 parent cb3aa5d commit 17d4965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcrouter/test/test_async_files_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
# LICENSE file in the root directory of this source tree.


import importlib.resources
import json
import os
import time

from libfb.py import parutil
from mcrouter.test.McrouterTestCase import McrouterTestCase


Expand Down Expand Up @@ -54,7 +54,7 @@ def test_stats_no_requests(self):

def test_async_files_attr(self):
mcrouter = self.add_mcrouter(self.config, extra_args=self.extra_args)
binary = parutil.get_file_path("mcrouter/client_binary")
binary = str(importlib.resources.files("mcrouter").joinpath("client_binary"))
port = str(mcrouter.getport())
args = '\'{"key":"abcd", "attributes":{"a1":1000, "a2":2000}}\''
command = binary + " -p " + port + " delete " + args
Expand Down

0 comments on commit 17d4965

Please sign in to comment.