Stephane Barbarie | 4a2564d | 2018-07-26 11:02:58 -0400 | [diff] [blame] | 1 | package model |
2 | |||||
3 | import ( | ||||
4 | "github.com/opencord/voltha/protos/go/voltha" | ||||
5 | "testing" | ||||
6 | ) | ||||
7 | |||||
8 | func Test_Revision_01_New(t *testing.T) { | ||||
9 | branch := &Branch{} | ||||
10 | data := &voltha.Device{} | ||||
11 | children := make(map[string][]*Revision) | ||||
12 | rev := NewRevision(branch, data, children) | ||||
13 | |||||
14 | t.Logf("New revision created: %+v\n", rev) | ||||
15 | } |