From 5ff33ad5cf25ce6b909cffa3fd778f18e417c460 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 18 Mar 2020 18:10:09 +0100 Subject: [PATCH] Gets rid of sample_confs and add defaults confs --- .circleci/config.yml | 6 ------ .gitignore | 1 - cli/{sample_conf.py => conf.py} | 4 ++-- teos/{sample_conf.py => conf.py} | 0 4 files changed, 2 insertions(+), 9 deletions(-) rename cli/{sample_conf.py => conf.py} (74%) rename teos/{sample_conf.py => conf.py} (100%) diff --git a/.circleci/config.yml b/.circleci/config.yml index b883c23..863cebb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,12 +50,6 @@ jobs: /snap/bin/bitcoin-core.daemon # Run unit tests - - run: - name: Creates config files - command: | - cp teos/sample_conf.py teos/conf.py - cp cli/sample_conf.py cli/conf.py - - run: name: Run teos unit tests command: | diff --git a/.gitignore b/.gitignore index fb8a68f..64b00b0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ .venv/ *.log .DS_Store -conf.py bitcoin.conf* *__pycache__ .pending* diff --git a/cli/sample_conf.py b/cli/conf.py similarity index 74% rename from cli/sample_conf.py rename to cli/conf.py index 155e788..1072da7 100644 --- a/cli/sample_conf.py +++ b/cli/conf.py @@ -1,6 +1,6 @@ # TEOS-SERVER -DEFAULT_TEOS_API_SERVER = "https://teos.pisa.watch" -DEFAULT_TEOS_API_PORT = 443 +DEFAULT_TEOS_API_SERVER = "http://localhost" +DEFAULT_TEOS_API_PORT = 9814 # WT-CLI DATA_FOLDER = "~/.teos_cli/" diff --git a/teos/sample_conf.py b/teos/conf.py similarity index 100% rename from teos/sample_conf.py rename to teos/conf.py