Move vars to tests_v dir

fixed NGCPAvp
Updated vars require
squeeze-backports
Victor Seva 13 years ago
parent 86ff015f82
commit f05b29144e

@ -9,7 +9,7 @@ NGCPAvp_MT = {
} }
function NGCPAvp:new(id) function NGCPAvp:new(id)
local t = { id = "$(avp(s:" .. id .. "))" } local t = { id = "$avp(s:" .. id .. ")" }
NGCPAvp_MT.__call = function(t, value) NGCPAvp_MT.__call = function(t, value)
if not value then if not value then
--print(table.tostring(sr.pv.vars)) --print(table.tostring(sr.pv.vars))

@ -20,7 +20,7 @@ package.preload['luasql.mysql'] = function ()
end end
require 'ngcp.dp' require 'ngcp.dp'
require 'tests.dp_vars' require 'tests_v.dp_vars'
TestNGCPDomainPrefs = {} --class TestNGCPDomainPrefs = {} --class

@ -20,7 +20,7 @@ package.preload['luasql.mysql'] = function ()
end end
require 'ngcp.pp' require 'ngcp.pp'
require 'tests.pp_vars' require 'tests_v.pp_vars'
TestNGCPPeerPrefs = {} --class TestNGCPPeerPrefs = {} --class

@ -20,7 +20,7 @@ package.preload['luasql.mysql'] = function ()
end end
require 'ngcp.up' require 'ngcp.up'
require 'tests.up_vars' require 'tests_v.up_vars'
TestNGCPUserPrefs = {} --class TestNGCPUserPrefs = {} --class

Loading…
Cancel
Save