tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_server.py (435B)


      1 # Copyright 2014 The Chromium Authors
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 
      6 class TestServer:
      7  """Base class for any server that needs to be set up for the tests."""
      8 
      9  def __init__(self, *args, **kwargs):
     10    pass
     11 
     12  def SetUp(self):
     13    raise NotImplementedError
     14 
     15  def Reset(self):
     16    raise NotImplementedError
     17 
     18  def TearDown(self):
     19    raise NotImplementedError