push
travis-ci
41 of 41 new or added lines in 5 files covered. (100.0%)
6005 of 7138 relevant lines covered (84.13%)
24.34 hits per line
|
from __future__ import absolute_import |
30✔ |
2 |
|
|
|
import abc |
30✔ |
4 |
|
|
5 |
|
|
|
class Serializer(object): |
30✔ |
|
__meta__ = abc.ABCMeta |
30✔ |
8 |
|
|
|
def __init__(self, **config): |
30✔ |
|
pass
|
× |
11 |
|
|
|
@abc.abstractmethod
|
30✔ |
13 |
def serialize(self, topic, value): |
|
|
pass
|
× |
15 |
|
|
|
def close(self): |
30✔ |
|
pass
|
× |
18 |
|
|
19 |
|
|
|
class Deserializer(object): |
30✔ |
|
__meta__ = abc.ABCMeta |
30✔ |
22 |
|
|
|
def __init__(self, **config): |
30✔ |
|
pass
|
× |
25 |
|
|
|
@abc.abstractmethod
|
30✔ |
27 |
def deserialize(self, topic, bytes_): |
|
|
pass
|
× |
29 |
|
|
|
def close(self): |
30✔ |
|
pass
|
× |