# Path: nosedjango/plugins/base_plugin.py
# class Plugin(NosePlugin):
#     django_plugin = True
#     _unique_token = None
# 
#     def get_unique_token(self):
#         """
#         Get a unique token for usage in differentiating test runs that need to
#         run in parallel.
#         """
#         if self._unique_token is None:
#             self._unique_token = self._random_token()
# 
#         return self._unique_token
# 
#     def _random_token(self, bits=128):
#         """
#         Generates a random token, using the url-safe base64 alphabet.
#         The "bits" argument specifies the bits of randomness to use.
#         """
#         alphabet = string.ascii_letters + string.digits + '-_'
#         # alphabet length is 64, so each letter provides lg(64) = 6 bits
#         num_letters = int(math.ceil(bits / 6.0))
#         return ''.join(random.choice(alphabet) for i in range(num_letters))


import os.path
from nosedjango.plugins.base_plugin import Plugin


CONFIG_FILES = [
    # Linux users will prefer this
    "~/.djangosettingstargetrc",
    # Windows users will prefer this
    "~/.djangosettingstarget.cfg",
]



# Path: nosedjango/plugins/base_plugin.py
# class Plugin(NosePlugin):
#     django_plugin = True
#     _unique_token = None
# 
#     def get_unique_token(self):
#         """
#         Get a unique token for usage in differentiating test runs that need to
#         run in parallel.
#         """
#         if self._unique_token is None:
#             self._unique_token = self._random_token()
# 
#         return self._unique_token
# 
#     def _random_token(self, bits=128):
#         """
#         Generates a random token, using the url-safe base64 alphabet.
#         The "bits" argument specifies the bits of randomness to use.
#         """
#         alphabet = string.ascii_letters + string.digits + '-_'
#         # alphabet length is 64, so each letter provides lg(64) = 6 bits
#         num_letters = int(math.ceil(bits / 6.0))
#         return ''.join(random.choice(alphabet) for i in range(num_letters))


# Path: nosedjango/plugins/settings_target_plugin.py
import os.path
from nosedjango.plugins.base_plugin import Plugin



CONFIG_FILES = [
    # Linux users will prefer this
    "~/.djangosettingstargetrc",
    # Windows users will prefer this
    "~/.djangosettingstarget.cfg",
]



class SettingsTargetPlugin(Plugin):