Currently a test suite needs a strings list in order to import new
strings. This lets us avoid that and have the actual tests defined
only in external lists, making it easier to see we're testing the same
thing on Windows and reducing duplication.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
"""
filename = f"{dir}/{cls.name}.txt"
+ if not hasattr(cls, 'strings'):
+ cls.strings = []
+
old_pairs = set()
for s in cls.strings:
if isinstance(s, str):