Backend: Adapt test to label update

This commit is contained in:
Theresa Gresch 2020-04-27 15:45:43 +02:00
parent b5c63893a8
commit 6598aed7ba

View file

@ -87,7 +87,7 @@ func TestTensorFlow_Labels(t *testing.T) {
assert.IsType(t, Labels{}, result) assert.IsType(t, Labels{}, result)
assert.Equal(t, 1, len(result)) assert.Equal(t, 1, len(result))
assert.Equal(t, "chihuahua", result[0].Name) assert.Equal(t, "dog", result[0].Name)
assert.Equal(t, 34, result[0].Uncertainty) assert.Equal(t, 34, result[0].Uncertainty)
} }