Unverified Commit a9d091d0 authored by moto's avatar moto Committed by GitHub
Browse files

Fbsync: test sanitization and lint fix (#1457)

parent 245da370
......@@ -18,7 +18,9 @@ def _name_func(func, _, params):
strs.append("_".join(str(a) for a in arg))
else:
strs.append(str(arg))
return f'{func.__name__}_{"_".join(strs)}'
# sanitize the test name
name = "_".join(strs).replace(".", "_")
return f'{func.__name__}_{name}'
def nested_params(*params_set):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment