mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
20 lines
465 B
Python
20 lines
465 B
Python
# Copyright 2014 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
class TestServer(object):
|
|
"""Base class for any server that needs to be set up for the tests."""
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
pass
|
|
|
|
def SetUp(self):
|
|
raise NotImplementedError
|
|
|
|
def Reset(self):
|
|
raise NotImplementedError
|
|
|
|
def TearDown(self):
|
|
raise NotImplementedError
|
|
|