it needs the nt.sqlite3 file in place and of the latest version
--- /dev/null
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+"""
+Created on Sun Feb 25 16:43:56 2024
+
+@author: shane
+
+NOTE: these tests are in a folder "aaa\" which is alphabetically RUN FIRST.
+ Other tests, such as test_bug, depend on having the newer version of nt.sqlite3
+"""
+from ntclient.services import init
+
+
+def test_init():
+ """Tests the SQL/persistence init in real time"""
+ code, result = init(yes=True)
+ assert code == 0
+ assert result
@todo: integration tests.. create user, recipe, log.. analyze & compare
"""
- def test_000_init(self):
- """Tests the SQL/persistence init in real time"""
- code, result = init(yes=True)
- assert code == 0
- assert result
-
def test_100_usda_sql_funcs(self):
"""Performs cursory inspection (sanity checks) of usda.sqlite3 image"""
version = usda_ver()