Skip to content

Commit

Permalink
release version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Aug 19, 2011
1 parent 0aba34f commit 8af5fbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

setup(
name='pynsca',
version='1.0',
version='1.1',
description='Simple Python interface to Nagios Service Check Architecture',
long_description=descr,
author='Dustin J. Mitchell',
Expand Down
6 changes: 6 additions & 0 deletions test_pynsca.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
import unittest
import base64
import pynsca
try:
import mcrypt
except ImportError:
mcrypt = None

class TestConstants(unittest.TestCase):

Expand Down Expand Up @@ -206,6 +210,8 @@ def test_encode_host_to_server(self):
[ ord(b) for b in pkt ])

def test_encode_service_to_server_aes256(self):
if not mcrypt:
raise unittest.SkipTest("python-mcrypt not installed")
iv = base64.b64decode("""
7ensPMny90d3fCFfruLNODYz6lm855IZDAku6g4Id/zyZDi7VjADzawkLVoH+pM+LX6X6
WUqA3EzMVxCOtQ+LDh26I6n61xUEImvGINCV7HB75smGZ+YTdD1jwrJzjcBRSCQ7AzsQB
Expand Down

0 comments on commit 8af5fbd

Please sign in to comment.