Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_macrocommand():
c = mc.MacroCommand('My macro cmd')
assert c.get_macro(0) == 'My macro cmd'
c = mc.MacroCommand(['c1', 'c2'])
assert c.get_macro(0) == 'c1\nc2'
def test_macrocommand():
c = mc.MacroCommand('My macro cmd')
assert c.get_macro(0) == 'My macro cmd'
c = mc.MacroCommand(['c1', 'c2'])
assert c.get_macro(0) == 'c1\nc2'