Skip to content

Commit

Permalink
Merge pull request #531 from amarandon/move-ini-files
Browse files Browse the repository at this point in the history
Move tests .ini files in sub folder
  • Loading branch information
almet committed Sep 11, 2013
2 parents c14c8ac + 628529b commit fb28d3f
Show file tree
Hide file tree
Showing 36 changed files with 33 additions and 27 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion circus/tests/test_circusd.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from circus.tests.support import has_gevent


CIRCUS_INI = os.path.join(os.path.dirname(__file__), 'circus.ini')
CIRCUS_INI = os.path.join(os.path.dirname(__file__), 'config', 'circus.ini')


class TestCircusd(TestCase):
Expand Down
29 changes: 15 additions & 14 deletions circus/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,23 @@


HERE = os.path.join(os.path.dirname(__file__))
CONFIG_DIR = os.path.join(HERE, 'config')

_CONF = {
'issue137': os.path.join(HERE, 'issue137.ini'),
'include': os.path.join(HERE, 'include.ini'),
'issue210': os.path.join(HERE, 'issue210.ini'),
'issue310': os.path.join(HERE, 'issue310.ini'),
'issue395': os.path.join(HERE, 'issue395.ini'),
'hooks': os.path.join(HERE, 'hooks.ini'),
'env_var': os.path.join(HERE, 'env_var.ini'),
'env_section': os.path.join(HERE, 'env_section.ini'),
'multiple_wildcard': os.path.join(HERE, 'multiple_wildcard.ini'),
'empty_include': os.path.join(HERE, 'empty_include.ini'),
'circus': os.path.join(HERE, 'circus.ini'),
'nope': os.path.join(HERE, 'nope.ini'),
'unexistant': os.path.join(HERE, 'unexistant.ini'),
'issue442': os.path.join(HERE, 'issue442.ini')
'issue137': os.path.join(CONFIG_DIR, 'issue137.ini'),
'include': os.path.join(CONFIG_DIR, 'include.ini'),
'issue210': os.path.join(CONFIG_DIR, 'issue210.ini'),
'issue310': os.path.join(CONFIG_DIR, 'issue310.ini'),
'issue395': os.path.join(CONFIG_DIR, 'issue395.ini'),
'hooks': os.path.join(CONFIG_DIR, 'hooks.ini'),
'env_var': os.path.join(CONFIG_DIR, 'env_var.ini'),
'env_section': os.path.join(CONFIG_DIR, 'env_section.ini'),
'multiple_wildcard': os.path.join(CONFIG_DIR, 'multiple_wildcard.ini'),
'empty_include': os.path.join(CONFIG_DIR, 'empty_include.ini'),
'circus': os.path.join(CONFIG_DIR, 'circus.ini'),
'nope': os.path.join(CONFIG_DIR, 'nope.ini'),
'unexistant': os.path.join(CONFIG_DIR, 'unexistant.ini'),
'issue442': os.path.join(CONFIG_DIR, 'issue442.ini')
}


Expand Down
29 changes: 17 additions & 12 deletions circus/tests/test_reloadconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,25 @@


HERE = os.path.join(os.path.dirname(__file__))
CONFIG_DIR = os.path.join(HERE, 'config')

_CONF = {
'reload_base': os.path.join(HERE, 'reload_base.ini'),
'reload_numprocesses': os.path.join(HERE, 'reload_numprocesses.ini'),
'reload_addwatchers': os.path.join(HERE, 'reload_addwatchers.ini'),
'reload_delwatchers': os.path.join(HERE, 'reload_delwatchers.ini'),
'reload_changewatchers': os.path.join(HERE, 'reload_changewatchers.ini'),
'reload_addplugins': os.path.join(HERE, 'reload_addplugins.ini'),
'reload_delplugins': os.path.join(HERE, 'reload_delplugins.ini'),
'reload_changeplugins': os.path.join(HERE, 'reload_changeplugins.ini'),
'reload_addsockets': os.path.join(HERE, 'reload_addsockets.ini'),
'reload_delsockets': os.path.join(HERE, 'reload_delsockets.ini'),
'reload_changesockets': os.path.join(HERE, 'reload_changesockets.ini'),
'reload_changearbiter': os.path.join(HERE, 'reload_changearbiter.ini'),
'reload_base': os.path.join(CONFIG_DIR, 'reload_base.ini'),
'reload_numprocesses': os.path.join(CONFIG_DIR, 'reload_numprocesses.ini'),
'reload_addwatchers': os.path.join(CONFIG_DIR, 'reload_addwatchers.ini'),
'reload_delwatchers': os.path.join(CONFIG_DIR, 'reload_delwatchers.ini'),
'reload_changewatchers': os.path.join(CONFIG_DIR,
'reload_changewatchers.ini'),
'reload_addplugins': os.path.join(CONFIG_DIR, 'reload_addplugins.ini'),
'reload_delplugins': os.path.join(CONFIG_DIR, 'reload_delplugins.ini'),
'reload_changeplugins': os.path.join(CONFIG_DIR,
'reload_changeplugins.ini'),
'reload_addsockets': os.path.join(CONFIG_DIR, 'reload_addsockets.ini'),
'reload_delsockets': os.path.join(CONFIG_DIR, 'reload_delsockets.ini'),
'reload_changesockets': os.path.join(CONFIG_DIR,
'reload_changesockets.ini'),
'reload_changearbiter': os.path.join(CONFIG_DIR,
'reload_changearbiter.ini'),
}


Expand Down

0 comments on commit fb28d3f

Please sign in to comment.