[tor-commits] [gettor/master] Create a test database with gettor links

cohosh at torproject.org cohosh at torproject.org
Thu Jan 23 18:33:31 UTC 2020


commit c1672a3f8d07e105793bd0f0eb247e9474622f5f
Author: Cecylia Bocovich <cohosh at torproject.org>
Date:   Mon Jan 20 17:51:27 2020 -0500

    Create a test database with gettor links
---
 tests/__init__.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29..f323d24 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,4 @@
+import subprocess
+
+# Create temporary database
+subprocess.run(["./scripts/add_links_to_db", "-f", "tests/gettor.db"])





More information about the tor-commits mailing list