diff --git a/tests/test_pagure_flask_ui_plugins_default_hook.py b/tests/test_pagure_flask_ui_plugins_default_hook.py
index 2320f53..cd9389a 100644
--- a/tests/test_pagure_flask_ui_plugins_default_hook.py
+++ b/tests/test_pagure_flask_ui_plugins_default_hook.py
@@ -70,8 +70,6 @@ class PagureFlaskPluginDefaultHooktests(tests.Modeltests):
'namespace': None})
self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks', 'post-receive.default')))
- self.assertTrue(os.path.exists(os.path.join(
self.path, 'repos', 'test.git', 'hooks', 'post-receive')))
def test_plugin_default_remove(self):
diff --git a/tests/test_pagure_flask_ui_plugins_mirror.py b/tests/test_pagure_flask_ui_plugins_mirror.py
index eb781b8..137a803 100644
--- a/tests/test_pagure_flask_ui_plugins_mirror.py
+++ b/tests/test_pagure_flask_ui_plugins_mirror.py
@@ -190,9 +190,6 @@ class PagureFlaskPluginMirrortests(tests.Modeltests):
self.assertTrue(os.path.exists(os.path.join(
self.path, 'repos', 'test.git', 'hooks',
- 'post-receive.mirror')))
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
'post-receive')))
def test_plugin_mirror_deactivate(self):
diff --git a/tests/test_pagure_flask_ui_plugins_noff.py b/tests/test_pagure_flask_ui_plugins_noff.py
index 8de5a2c..6b89071 100644
--- a/tests/test_pagure_flask_ui_plugins_noff.py
+++ b/tests/test_pagure_flask_ui_plugins_noff.py
@@ -182,10 +182,6 @@ class PagureFlaskPluginNoFFtests(tests.SimplePagureTest):
'', output_text)
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
- 'pre-receive.pagureforcecommit')))
-
# De-Activate hook
data = {'csrf_token': csrf_token}
output = self.app.post(
diff --git a/tests/test_pagure_flask_ui_plugins_pagure_hook.py b/tests/test_pagure_flask_ui_plugins_pagure_hook.py
index efd341d..a3e7536 100644
--- a/tests/test_pagure_flask_ui_plugins_pagure_hook.py
+++ b/tests/test_pagure_flask_ui_plugins_pagure_hook.py
@@ -166,9 +166,6 @@ class PagureFlaskPluginPagureHooktests(tests.SimplePagureTest):
self.assertTrue(os.path.exists(os.path.join(
self.path, 'repos', 'test.git', 'hooks',
- 'post-receive.pagure')))
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
'post-receive')))
self.assertTrue(os.path.exists(os.path.join(
self.path, 'repos', 'docs', 'test.git', 'hooks',
@@ -241,9 +238,6 @@ class PagureFlaskPluginPagureHooktests(tests.SimplePagureTest):
self.assertTrue(os.path.exists(os.path.join(
self.path, 'repos', 'test.git', 'hooks',
- 'post-receive.pagure')))
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
'post-receive')))
self.assertFalse(os.path.exists(os.path.join(
self.path, 'docs', 'test.git', 'hooks',
@@ -279,9 +273,6 @@ class PagureFlaskPluginPagureHooktests(tests.SimplePagureTest):
self.assertTrue(os.path.exists(os.path.join(
self.path, 'repos', 'test.git', 'hooks',
- 'post-receive.pagure')))
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
'post-receive')))
self.assertFalse(os.path.exists(os.path.join(
self.path, 'docs', 'test.git', 'hooks',
diff --git a/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py b/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py
index be385d7..328cf34 100644
--- a/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py
+++ b/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py
@@ -137,10 +137,6 @@ class PagureFlaskPluginPagureNoNewBranchHooktests(tests.SimplePagureTest):
'', output_text)
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
- 'pre-receive.pagure_no_new_branches')))
-
# De-Activate hook
data = {'csrf_token': self.csrf_token}
output = self.app.post(
diff --git a/tests/test_pagure_flask_ui_plugins_pagure_request_hook.py b/tests/test_pagure_flask_ui_plugins_pagure_request_hook.py
index ba5291f..2026122 100644
--- a/tests/test_pagure_flask_ui_plugins_pagure_request_hook.py
+++ b/tests/test_pagure_flask_ui_plugins_pagure_request_hook.py
@@ -119,10 +119,6 @@ class PagureFlaskPluginPagureRequestHooktests(tests.SimplePagureTest):
'', output_text)
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'requests', 'test.git', 'hooks',
- 'post-receive.pagure-requests')))
-
# De-Activate hook
data = {'csrf_token': csrf_token}
output = self.app.post(
diff --git a/tests/test_pagure_flask_ui_plugins_pagure_ticket_hook.py b/tests/test_pagure_flask_ui_plugins_pagure_ticket_hook.py
index c773466..9ef5e8b 100644
--- a/tests/test_pagure_flask_ui_plugins_pagure_ticket_hook.py
+++ b/tests/test_pagure_flask_ui_plugins_pagure_ticket_hook.py
@@ -120,10 +120,6 @@ class PagureFlaskPluginPagureTicketHooktests(tests.SimplePagureTest):
'', output_text)
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'tickets', 'test.git', 'hooks',
- 'post-receive.pagure-ticket')))
-
# De-Activate hook
data = {'csrf_token': csrf_token}
output = self.app.post(
diff --git a/tests/test_pagure_flask_ui_plugins_unsigned.py b/tests/test_pagure_flask_ui_plugins_unsigned.py
index d786ec8..c95f3b1 100644
--- a/tests/test_pagure_flask_ui_plugins_unsigned.py
+++ b/tests/test_pagure_flask_ui_plugins_unsigned.py
@@ -107,10 +107,6 @@ class PagureFlaskPluginUnsignedtests(tests.SimplePagureTest):
'Hook activated',
output_text)
- self.assertTrue(os.path.exists(os.path.join(
- self.path, 'repos', 'test.git', 'hooks',
- 'pre-receive.pagureunsignedcommit')))
-
# De-Activate hook
data = {'csrf_token': csrf_token}
output = self.app.post(