Files
2015-06-30 14:32:18 +02:00

14 lines
468 B
Bash

#!/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 ####################################################