api: fix config tests

Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
Andrey Vagin
2015-02-03 15:27:21 +03:00
committed by Michael Crosby
parent daca745c4c
commit bcd0222be5
13 changed files with 463 additions and 490 deletions

View File

@@ -118,9 +118,6 @@ func TestFactoryLoadContainer(t *testing.T) {
}
config := container.Config()
if config == nil {
t.Fatal("expected non nil container config")
}
if config.RootFs != expectedConfig.RootFs {
t.Fatalf("expected rootfs %q but received %q", expectedConfig.RootFs, config.RootFs)