Skip to content
Snippets Groups Projects
Commit e9502040 authored by Simon Rose's avatar Simon Rose
Browse files

Randomised module name

parent 3b81c50d
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,16 @@ import os
import subprocess
import time
from pathlib import Path
from random import choice
from string import ascii_lowercase
import pytest
from git import Repo
from run_iocsh import IOC
TEST_MODULE_NAME = "testversions"
# Random module name
TEST_MODULE_NAME = "test_mod_" + "".join(choice(ascii_lowercase) for _ in range(16))
EPICS_BASE = os.environ.get("EPICS_BASE")
E3_REQUIRE_VERSION = os.environ.get("E3_REQUIRE_VERSION")
......@@ -42,8 +46,6 @@ DBDS += {dbds}
HEADERS += {headers}
"""
TEST_MODULE_NAME = "testversions"
def run_make(path, *args, **kwargs):
test_env = os.environ.copy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment