summaryrefslogtreecommitdiff
path: root/tests/version_test.py
blob: a021a49a4d55bef069d570cc9c59bc9804f0a314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vi:ts=4:et

import unittest
import pycurl

class VersionTest(unittest.TestCase):
    def test_pycurl_presence_and_case(self):
        assert pycurl.version.startswith('PycURL/')
    
    def test_libcurl_presence(self):
        assert 'libcurl/' in pycurl.version