# Path: nanoservice/crypto.py
# class Authenticator(object):
#     def __init__(self, secret, digestmod=None):
#     def sign(self, encoded):
#     def signed(self, encoded):
#     def unsigned(self, encoded):
#     def split(self, encoded):
#     def auth(self, encoded):
# 
# Path: nanoservice/error.py
# class NanoServiceError(Exception):
# class ServiceError(NanoServiceError):
# class ClientError(NanoServiceError):
# class ConfigError(NanoServiceError):
# class AuthenticatorInvalidSignature(NanoServiceError):
# class RequestParseError(NanoServiceError):
# class PublisherError(NanoServiceError):
# class SubscriberError(NameError):
# class DecodeError(ServiceError):
# class EncodeError(ServiceError):
# class AuthenticateError(ServiceError):
# class EndpointError(ServiceError):


import unittest
from nanoservice import crypto
from nanoservice import error



class TestAuthenticator(unittest.TestCase):

    def setUp(self):
        self.authenticator = crypto.Authenticator('my secret')


# Path: nanoservice/crypto.py
# class Authenticator(object):
#     def __init__(self, secret, digestmod=None):
#     def sign(self, encoded):
#     def signed(self, encoded):
#     def unsigned(self, encoded):
#     def split(self, encoded):
#     def auth(self, encoded):
# 
# Path: nanoservice/error.py
# class NanoServiceError(Exception):
# class ServiceError(NanoServiceError):
# class ClientError(NanoServiceError):
# class ConfigError(NanoServiceError):
# class AuthenticatorInvalidSignature(NanoServiceError):
# class RequestParseError(NanoServiceError):
# class PublisherError(NanoServiceError):
# class SubscriberError(NameError):
# class DecodeError(ServiceError):
# class EncodeError(ServiceError):
# class AuthenticateError(ServiceError):
# class EndpointError(ServiceError):


# Path: test/test_crypto.py
import unittest
from nanoservice import crypto
from nanoservice import error




class TestAuthenticator(unittest.TestCase):

    def setUp(self):
        self.authenticator = crypto.Authenticator('my secret')


    def tearDown(self):