anki-connect/tests/test_misc.py
2017-12-22 22:42:49 +01:00

11 lines
274 B
Python

# -*- coding: utf-8 -*-
import unittest
from unittest import TestCase
from util import callAnkiConnectEndpoint
class TestVersion(TestCase):
def test_version(self):
response = callAnkiConnectEndpoint({'action': 'version'})
self.assertEqual(5, response)