From 1b2cf1e823d6dfbb907449f8eab98b9011e9e48f Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 22 May 2013 14:20:44 -0500 Subject: Simple "staticstuff" plugin for writing unit tests on plugin static asset linking. It doesn't do much... it just has a static directory with a "bunnify" CSS file and has a unit test that returns a json encoded set of a staticdirect with both this plugin enabled and also with (theoretically) a file distributed with MediaGoblin (it isn't really, but in our case that doesn't matter.) Also set up the static_setup hook / PluginStatic object for this plugin; testing that with `./bin/gmg theme assetlink` seemed to work. (And argh, need to update that command name, I know.) This commit sponsored by Bradley Kuhn. Thanks bkuhn! --- mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css (limited to 'mediagoblin/tests/testplugins/staticstuff/static/css') diff --git a/mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css b/mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css new file mode 100644 index 00000000..1294ab8a --- /dev/null +++ b/mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css @@ -0,0 +1,4 @@ +body { + background-color: #5edcf1; + color: #eb8add; +} \ No newline at end of file -- cgit v1.2.3