aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/deprecated/ticket_parser2/src/ut/test_common.py
blob: 63759eba3922bcc1a57aff41c6d8d2b86c4b9491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python
from __future__ import print_function

import ticket_parser2 as tp2
from ticket_parser2 import BlackboxClientId


def test_version():
    assert tp2.__version__[:-5] == 'py_'


def test_blackbox_client_id():
    assert BlackboxClientId.Prod.value == '222'
    assert BlackboxClientId.Test.value == '224'
    assert BlackboxClientId.ProdYateam.value == '223'
    assert BlackboxClientId.TestYateam.value == '225'
    assert BlackboxClientId.Stress.value == '226'
    assert BlackboxClientId.Mimino.value == '239'