Skip to content

Commit

Permalink
small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fryz committed Apr 4, 2024
1 parent b95fccc commit d475523
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arthur_bench/client/fs/abc_fs_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import uuid
from abc import ABC, abstractmethod, abstractstaticmethod
from abc import ABC, abstractmethod
from datetime import datetime
from pathlib import Path
from typing import Optional, Union, List
Expand All @@ -21,7 +21,7 @@ def get_test_suite_dir(self, test_suite_name: str) -> Path:
)

@abstractmethod
def create_test_suite_dur(self, test_suite_name: str) -> Path:
def create_test_suite_dir(self, test_suite_name: str) -> Path:
raise NotImplementedError(
"Calling an abstract method. Please use a concrete base class"
)
Expand Down
2 changes: 1 addition & 1 deletion arthur_bench/client/fs/local_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def get_test_suites(
)

def create_test_suite(self, json_body: TestSuiteRequest) -> PaginatedTestSuite:
test_suite_dir = self.fs_client.create_test_suite_dur(json_body.name)
test_suite_dir = self.fs_client.create_test_suite_dir(json_body.name)
test_suite_id = uuid.uuid4()
self.fs_client.update_suite_index(test_suite_id, json_body.name)
self.fs_client.write_run_index(json_body.name)
Expand Down
2 changes: 1 addition & 1 deletion arthur_bench/client/fs/local_fs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, config: LocalFSClientConfig):
def get_test_suite_dir(self, test_suite_name: str) -> Path:
return Path(self.root_dir) / test_suite_name

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

0 comments on commit d475523

Please sign in to comment.