Commit 2740be10 authored by Meet Mangukiya's avatar Meet Mangukiya

test_actions: Add tests for Actions

Adds to #38
parent 20f3e30a
import unittest
from IGitt.Interfaces.Actions import MergeRequestActions, IssueActions
class TestActions(unittest.TestCase):
def test_mr_actions(self):
mr = MergeRequestActions(1)
self.assertEqual(mr.name, 'OPENED')
def test_issue_actions(self):
iss = IssueActions(2)
self.assertEqual(iss.name, 'CLOSED')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment