Files
Exiled-Exchange-2/dataParser/tests/unit/models/test_client_string.py
Kvan7 f397d67e7e Features/pushPrivateParser (#759)
Adds copy of parser from private repo
2025-12-06 22:53:27 -06:00

12 lines
277 B
Python

from constants.lang import ENGLISH
from models.client_string import ClientString
def test_copy_client_string():
ccs = ClientString("KEY_VALUE", ["text2"])
def get(x):
return "test"
assert ccs.string(get, ENGLISH) == " // [text2]\n KEY_VALUE: 'test',"