Skip to content

Commit

Permalink
[test] Renamed TestStoreUnmanaged to TestUciAutoname #21
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 25, 2016
1 parent 8189e4b commit cffcb9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openwisp-config/tests/test_uci_autoname.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ local function _clean()
os.remove(prefix)
end

TestStoreUnmanaged = {}
TestUciAutoname = {}

TestStoreUnmanaged.setUp = _setup
TestStoreUnmanaged.tearDown = _clean
TestUciAutoname.setUp = _setup
TestUciAutoname.tearDown = _clean

function TestStoreUnmanaged.test_default_behaviour()
function TestUciAutoname.test_default_behaviour()
name_anonymous_uci('--test=1')
-- check network
local file = io.open(prefix .. 'network')
Expand Down

0 comments on commit cffcb9f

Please sign in to comment.