Consider the following scenario.
import six
from abc import ABCMeta, abstractmethod
class ThisIsAnAbstractClass(six.with_metaclass(ABCMeta)):
@abstractmethod
def __init__(self,parameter):
self.parameter = parameter
def do_something():
"""do something"""
There is a class extended form ABCMeta (an abstract class) with an abstract method in it. This class cannot be initialized because of that abstract init() method. Is there a way to test this class? (at least using any testing framework)