Ubuntu Pastebin

Paste from mvo at Tue, 22 Dec 2015 11:36:45 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FAIL: lightweight_test.go:105: lightweightSuite.TestMapFmkNoPart

lightweight_test.go:121:
    c.Check(m, check.DeepEquals, map[string]string{
        "name":               "fmk",
        "origin":             "sideload",
        "status":             "active",
        "version":            "120",
        "icon":               filepath.Join(s.d, "apps", "fmk", "120", "icon.png"),
        "type":               "framework",
        "vendor":             "",
        "download_size":      "-1",
        "description":        "",
        "rollback_available": "119",
    })
... obtained map[string]string = map[string]string{"version":"120", "download_size":"-1", "status":"active", "icon":"/tmp/check-1024499586591090342/10/apps/fmk/120/icon.png", "name":"fmk", "origin":"", "type":"framework", "description":"", "rollback_available":"119", "vendor":""}
... expected map[string]string = map[string]string{"name":"fmk", "vendor":"", "icon":"/tmp/check-1024499586591090342/10/apps/fmk/120/icon.png", "type":"framework", "download_size":"-1", "description":"", "rollback_available":"119", "origin":"sideload", "status":"active", "version":"120"}


----------------------------------------------------------------------
FAIL: lightweight_test.go:268: lightweightSuite.TestMapInactiveGadgetNoPart

lightweight_test.go:283:
    c.Check(m, check.DeepEquals, map[string]string{
        "name":          "a-gadget",
        "origin":        "sideload", // best guess
        "status":        "installed",
        "version":       "3",
        "icon":          filepath.Join(s.d, "gadget", "a-gadget", "3", "icon.png"),
        "type":          "gadget",
        "vendor":        "",
        "download_size": "-1",
        "description":   "",
    })
... obtained map[string]string = map[string]string{"version":"3", "vendor":"", "icon":"/tmp/check-1024499586591090342/11/gadget/a-gadget/3/icon.png", "type":"gadget", "description":"", "download_size":"-1", "name":"a-gadget", "origin":"", "status":"installed"}
... expected map[string]string = map[string]string{"origin":"sideload", "download_size":"-1", "name":"a-gadget", "status":"installed", "version":"3", "type":"gadget", "vendor":"", "description":"", "icon":"/tmp/check-1024499586591090342/11/gadget/a-gadget/3/icon.png"}
Download as text