aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_slackts.py
blob: afe371918dff3d0ea3ae3506eb3ffc31a743187a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from wee_slack import SlackTS


def test_slackts():
    a = SlackTS("1234.0")
    print a
    b = SlackTS("1234.002")
    print b
    print type(a.major)
    print type(a.minor)
    print type(b.major)
    print type(b.minor)
    print a.minor
    assert a < b
    c = SlackTS()
    assert c > b

    print str(SlackTS())
    #assert False