Skip to content

Commit d475523

Browse files
committed
small typos
1 parent b95fccc commit d475523

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

arthur_bench/client/fs/abc_fs_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import uuid
3-
from abc import ABC, abstractmethod, abstractstaticmethod
3+
from abc import ABC, abstractmethod
44
from datetime import datetime
55
from pathlib import Path
66
from typing import Optional, Union, List
@@ -21,7 +21,7 @@ def get_test_suite_dir(self, test_suite_name: str) -> Path:
2121
)
2222

2323
@abstractmethod
24-
def create_test_suite_dur(self, test_suite_name: str) -> Path:
24+
def create_test_suite_dir(self, test_suite_name: str) -> Path:
2525
raise NotImplementedError(
2626
"Calling an abstract method. Please use a concrete base class"
2727
)

arthur_bench/client/fs/local_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def get_test_suites(
253253
)
254254

255255
def create_test_suite(self, json_body: TestSuiteRequest) -> PaginatedTestSuite:
256-
test_suite_dir = self.fs_client.create_test_suite_dur(json_body.name)
256+
test_suite_dir = self.fs_client.create_test_suite_dir(json_body.name)
257257
test_suite_id = uuid.uuid4()
258258
self.fs_client.update_suite_index(test_suite_id, json_body.name)
259259
self.fs_client.write_run_index(json_body.name)

arthur_bench/client/fs/local_fs_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, config: LocalFSClientConfig):
4444
def get_test_suite_dir(self, test_suite_name: str) -> Path:
4545
return Path(self.root_dir) / test_suite_name
4646

47-
def create_test_suite_dur(self, test_suite_name: str) -> Path:
47+
def create_test_suite_dir(self, test_suite_name: str) -> Path:
4848
test_suite_dir = self.get_test_suite_dir(test_suite_name)
4949
if test_suite_dir.is_dir():
5050
raise UserValueError(f"test_suite {test_suite_name} already exists")

0 commit comments

Comments
 (0)