From 4b5896a10afa848235d5041e988424ba8d3239a6 Mon Sep 17 00:00:00 2001 From: Tom Gillespie Date: Wed, 3 Apr 2019 23:05:43 -0400 Subject: [PATCH] test neurons made it easier to see where mismatches --- neurondm/test/test_neurons.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neurondm/test/test_neurons.py b/neurondm/test/test_neurons.py index 5b55a8c7..73d71848 100644 --- a/neurondm/test/test_neurons.py +++ b/neurondm/test/test_neurons.py @@ -144,13 +144,17 @@ def test_ttl_simple(self): Neuron(Phenotype('TEMP:turtle-phenotype')) Neuron(NegPhenotype('TEMP:turtle-phenotype')) config.write() + a = config.neurons() config2 = Config('test-ttl', ttl_export_dir=tel, py_export_dir=pyel) config2.load_existing() config2.write_python() + b = config2.neurons() config3 = Config('test-ttl', ttl_export_dir=tel, py_export_dir=pyel) config3.load_python() + c = config3.neurons() + print(a, b, c) assert config.existing_pes is not config2.existing_pes is not config3.existing_pes - assert config.neurons() == config2.neurons() == config3.neurons() + assert a == b == c