Skip to content
Snippets Groups Projects
Commit 9eb171bf authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fuck cc test coverage

parent d726d799
No related branches found
No related tags found
No related merge requests found
......@@ -6,3 +6,4 @@ omit=
tests/*
examples/*
docs/*
show_missing=true
\ No newline at end of file
......@@ -9,5 +9,3 @@ install:
script:
- bash tests/test_posix/test_hang_until_sig.sh
- python setup.py tests
after_success:
- CODECLIMATE_REPO_TOKEN=cc1c853d7d3b0d97a3de8e245d02b834194d30037ff8644d2b26d0e5f17c5fe6 codeclimate-test-reporter
......@@ -2,7 +2,6 @@ satella
========
[![Build Status](https://travis-ci.org/piotrmaslanka/satella.svg)](https://travis-ci.org/piotrmaslanka/satella)
[![Code Climate](https://codeclimate.com/github/piotrmaslanka/satella/badges/gpa.svg)](https://codeclimate.com/github/piotrmaslanka/satella)
[![Test Coverage](https://codeclimate.com/github/piotrmaslanka/satella/badges/coverage.svg)](https://codeclimate.com/github/piotrmaslanka/satella/coverage)
[![Issue Count](https://codeclimate.com/github/piotrmaslanka/satella/badges/issue_count.svg)](https://codeclimate.com/github/piotrmaslanka/satella)
[![PyPI](https://img.shields.io/pypi/pyversions/satella.svg)]()
[![PyPI version](https://badge.fury.io/py/satella.svg)](https://badge.fury.io/py/satella)
......
......@@ -127,7 +127,8 @@ class StoredVariable(object):
try:
self.pickle = pickle.dumps(value, pickle.HIGHEST_PROTOCOL)
self.pickle_type = 'pickle'
except (pickle.PicklingError, TypeError, AttributeError) as e: # yes, they all can happen!
except (pickle.PicklingError, TypeError, AttributeError) as e:
# yes, they all can happen!
self.pickle = repr(e.args)
self.pickle_type = "failed"
else:
......
......@@ -8,7 +8,7 @@ description = Utilities for writing servers in Python
url = https://github.com/piotrmaslanka/satella
[pycodestyle]
max-line-length=120
max-line-length=80
[bdist_wheel]
universal=1
......
......@@ -9,7 +9,7 @@ setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'],
"backports.typing"
],
tests_require=[
"nose", "mock", "coverage", "codeclimate-test-reporter"
"nose", "mock", "coverage"
],
test_suite='nose.collector',
classifiers=[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment