From 708bc78770a0b0361908f6404f57264c53252a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 28 Jul 2016 09:30:58 +0200 Subject: Optimize the multilanguage build process Work In Progress! This commit makes a rework of the build and rebuild process to better suit a multi-site setup. This also includes a complete overhaul of the site tests. Previous these were a messy mix that were testing just small parts of the build chain, some of it testing code-paths not even used in "real life". Now all tests that depends on a built site follows the same and real production code path. See #2309 Closes #2211 Closes #477 Closes #1744 --- hugolib/page_permalink_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hugolib/page_permalink_test.go') diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index eae174517..a47bad85e 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_test.go @@ -23,8 +23,7 @@ import ( ) func TestPermalink(t *testing.T) { - viper.Reset() - defer viper.Reset() + testCommonResetState() tests := []struct { file string -- cgit v1.2.3