Files
secondo/apis/python1/api/unittest/support/test_secondocommands.py

11 lines
345 B
Python
Raw Normal View History

2026-01-23 17:03:45 +08:00
from unittest import TestCase
import secondodb.api.support.secondocommands as com
from secondodb.api.secondoapi import ProgrammingError
class TestCommands(TestCase):
def test_apply_parameters_to_operation(self):
with self.assertRaises(ProgrammingError):
com.apply_parameters_to_operation('oper {1} and {2}', ['par1'])