Skip to content
Snippets Groups Projects
Verified Commit e76e2d13 authored by Ole Binder's avatar Ole Binder
Browse files

Chore: include config for tests

parent 5b959820
No related branches found
No related tags found
1 merge request!17Yaml configuration file
Pipeline #8463 passed
......@@ -17,7 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
%include "../src/settings.liq"
settings.init.allow_root.set(true)
settings.init.catch_exn.set(false)
settings.server.timeout.set(180.)
......@@ -39,10 +39,17 @@ ignore(engine_default_track_type)
assertEqualsError = error.register("AssertEqualsError")
def assertEquals(var1, var2) =
if var1 != var2 then
error.raise(assertEqualsError, "#{var1} != #{var2}")
shutdown(code=1)
else
print("#{var1} == #{var2}")
end
end
\ No newline at end of file
if
var1 != var2
then
error.raise(
assertEqualsError,
"#{var1} != #{var2}"
)
shutdown(code=1)
else
print(
"#{var1} == #{var2}"
)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment