Skip to content

Commit

Permalink
chore: Remove unused test utils
Browse files Browse the repository at this point in the history
  • Loading branch information
trallnag committed Mar 8, 2023
1 parent eaab33d commit ce5f3fe
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/helpers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,3 @@ def delete_dir_content(dirpath):
shutil.rmtree(filepath)
except OSError:
os.remove(filepath)


UNIQUE_ID = 0


def get_unique_id() -> str:
global UNIQUE_ID
UNIQUE_ID = UNIQUE_ID + 1
return str(UNIQUE_ID).rjust(4, "0")


def build_sample(name: str, labels: dict[str, str], value: str) -> str:
sample = name
if labels:
sample = sample + "{"

0 comments on commit ce5f3fe

Please sign in to comment.