# Path: grappa_http/operators/base.py
# class BaseOperator(Operator):
#     def isadapter(self, response):
#     def adapt(self, response):
#     def on_access(self, response):
#     def match(self, response, *expected, **kw):


from .base import BaseOperator, Operator
            start, end = status
            return self.subject >= start and self.subject <= end

        if isinstance(status, str):
            status = status.lower()
            self.subject = res.status.lower()

        return self.subject == status, []


class OkStatusOperator(StatusOperator):
    """
    Asserts HTTP response status is `OK`.

    Example::

        # Should style
        res | should.be.ok

        # Should style - negation form
        res | should.not_be.ok

        # Expect style
        res | expect.to.be.ok

        # Expect style - negation form
        res | expect.to_not.be.ok
    """

    # Is the operator a keyword

# Path: grappa_http/operators/base.py
# class BaseOperator(Operator):
#     def isadapter(self, response):
#     def adapt(self, response):
#     def on_access(self, response):
#     def match(self, response, *expected, **kw):


# Path: grappa_http/operators/status.py
from .base import BaseOperator, Operator

            start, end = status
            return self.subject >= start and self.subject <= end

        if isinstance(status, str):
            status = status.lower()
            self.subject = res.status.lower()

        return self.subject == status, []


class OkStatusOperator(StatusOperator):
    """
    Asserts HTTP response status is `OK`.

    Example::

        # Should style
        res | should.be.ok

        # Should style - negation form
        res | should.not_be.ok

        # Expect style
        res | expect.to.be.ok

        # Expect style - negation form
        res | expect.to_not.be.ok
    """

    # Is the operator a keyword

    kind = Operator.Type.ACCESSOR