Skip to content

Commit

Permalink
fix random_namespace for name conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Dec 14, 2024
1 parent e4ec6ea commit 0b6f7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_shell(self, timeout=600):
def create_test_namespace(self, force=False):
"""Create unique test namespace for test."""

random_namespace = self.name[self.name.find('test_0'):self.name.find('. ')].replace("_", "-") + "-" + str(uuid.uuid1())
random_namespace = self.name[self.name.find('test_0'):self.name.find('# ')].replace("_", "-") + "-" + str(uuid.uuid1())

if not force: # (self.cflags & PARALLEL) and not force:
self.context.test_namespace = random_namespace
Expand Down

0 comments on commit 0b6f7a1

Please sign in to comment.