[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c1672a3f8d07e105793bd0f0eb247e9474622f5f
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
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"])



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits