Remove get_last_entry(), get_last_entries()

Nothing is using them.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Add some more database test cases

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Start new cleaned interface for the pvoutput.org stuff

In parallel with the existing one for now, to avoid breaking the current
scripts.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Move tests into smadata2 package

Less hassle having them separated from the code.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Some more testing of config handling

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Start on tests for pvoutput.org functionality

Use nose attributes to not run by default tests which require online access
to pvoutput.org

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>