Adds IP tests + reorganises structure

This commit is contained in:
Carla
2015-06-30 14:32:18 +02:00
parent 598e30ff3d
commit 520f5b3464
3 changed files with 226 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
#################################################### TESTS GO HERE ####################################################
function test_geocoding_data_ip_addr() {
# checks the type of the IP addresses column - inet in postgres
sql "SELECT count(*) FROM ip_address_locations where network_start_ip::inet is null" should 0
}
#################################################### TESTS END HERE ####################################################