Skip to content
Permalink
Browse files

Add test placeholders for all plugins

  • Loading branch information...
lovett committed Jun 18, 2019
1 parent 10e067d commit 27ac49dcc54ad44c9c5a379e6b6bedd88443a164
@@ -33,7 +33,7 @@ for STAGED_FILE in $(git diff --cached --name-only --diff-filter=dcr); do
if [[ "${PATH_PARTS[0]}" == "parsers" ]] || [[ "${PATH_PARTS[0]}" == "plugins" ]]; then
TYPE="${PATH_PARTS[0]}"
NAME=${PATH_PARTS[1]%.*} # remove file extension
NAME=${NAME/test_/} # remove test prefix
NAME=${NAME/_test/} # remove test prefix
TESTS_TO_RUN="$TESTS_TO_RUN $TYPE.$NAME"
fi

@@ -0,0 +1,24 @@
"""
Test suite for the applog plugin
"""

import unittest
import cherrypy
import plugins.applog


class TestUrl(unittest.TestCase):
"""
Tests for the applog plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the audio plugin
"""

import unittest
import cherrypy
import plugins.audio


class TestUrl(unittest.TestCase):
"""
Tests for the audio plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the bookmarks plugin
"""

import unittest
import cherrypy
import plugins.bookmarks


class TestUrl(unittest.TestCase):
"""
Tests for the bookmarks plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the cache plugin
"""

import unittest
import cherrypy
import plugins.cache


class TestUrl(unittest.TestCase):
"""
Tests for the cache plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the capture plugin
"""

import unittest
import cherrypy
import plugins.capture


class TestUrl(unittest.TestCase):
"""
Tests for the capture plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the cdr plugin
"""

import unittest
import cherrypy
import plugins.cdr


class TestUrl(unittest.TestCase):
"""
Tests for the cdr plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the checksum plugin
"""

import unittest
import cherrypy
import plugins.checksum


class TestUrl(unittest.TestCase):
"""
Tests for the checksum plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the converters plugin
"""

import unittest
import cherrypy
import plugins.converters


class TestUrl(unittest.TestCase):
"""
Tests for the converters plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the decorators plugin
"""

import unittest
import cherrypy
import plugins.decorators


class TestUrl(unittest.TestCase):
"""
Tests for the decorators plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the formatting plugin
"""

import unittest
import cherrypy
import plugins.formatting


class TestUrl(unittest.TestCase):
"""
Tests for the formatting plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the geography plugin
"""

import unittest
import cherrypy
import plugins.geography


class TestUrl(unittest.TestCase):
"""
Tests for the geography plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the hasher plugin
"""

import unittest
import cherrypy
import plugins.hasher


class TestUrl(unittest.TestCase):
"""
Tests for the hasher plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the ip plugin
"""

import unittest
import cherrypy
import plugins.ip


class TestUrl(unittest.TestCase):
"""
Tests for the ip plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the jinja plugin
"""

import unittest
import cherrypy
import plugins.jinja


class TestUrl(unittest.TestCase):
"""
Tests for the jinja plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()
@@ -0,0 +1,24 @@
"""
Test suite for the logindex plugin
"""

import unittest
import cherrypy
import plugins.logindex


class TestUrl(unittest.TestCase):
"""
Tests for the logindex plugin
"""

def setUp(self):
self.plugin = plugins.url.Plugin(cherrypy.engine)

def test_placeholder(self):
"""Placeholder to force pytest to generate a coverage file."""
pass # pylint: disable=unnecessary-pass


if __name__ == "__main__":
unittest.main()

0 comments on commit 27ac49d

Please sign in to comment.
You can’t perform that action at this time.