from st2tests.base import BaseActionTestCase

from pythonactions.isprime import PrimeCheckerAction


class PrimeCheckerActionTestCase(BaseActionTestCase):
    action_cls = PrimeCheckerAction

    def test_run(self):
        action = self.get_action_instance()
        result = action.run(value=1)
        self.assertFalse(result)

        result = action.run(value=3)
        self.assertTrue(result)

Add tests for example is prime action.
Add tests for example is prime action.
