# Path: haystack/argparse_utils.py
# def readable(f):
# def writeable(f):
# def int16(s):


import logging
import unittest
import sys
import argparse
from haystack import argparse_utils
#!/usr/bin/env python
# -*- coding: utf-8 -*-





class Test(unittest.TestCase):

    def test_readable(self):
        """test the readable helper."""
        invalid = '/345678ui0d9t921giv9'

# Path: haystack/argparse_utils.py
# def readable(f):
# def writeable(f):
# def int16(s):


# Path: test/haystack/test_argparse_utils.py
import logging
import unittest
import sys
import argparse
from haystack import argparse_utils

#!/usr/bin/env python
# -*- coding: utf-8 -*-





class Test(unittest.TestCase):

    def test_readable(self):
        """test the readable helper."""
        invalid = '/345678ui0d9t921giv9'

        self.assertRaises(argparse.ArgumentTypeError, argparse_utils.readable, invalid)