(c *C)
| 134 | } |
| 135 | |
| 136 | func (s *LocalRepoCollectionSuite) TestLoadCompleteNoRefKey(c *C) { |
| 137 | repo := NewLocalRepo("local1", "Comment 1") |
| 138 | c.Assert(s.collection.Update(repo), IsNil) |
| 139 | |
| 140 | r, err := s.collection.ByName("local1") |
| 141 | c.Assert(err, IsNil) |
| 142 | |
| 143 | c.Assert(s.collection.LoadComplete(r), IsNil) |
| 144 | c.Assert(r.packageRefs, NotNil) |
| 145 | c.Assert(r.NumPackages(), Equals, 0) |
| 146 | } |
| 147 | |
| 148 | func (s *LocalRepoCollectionSuite) TestUpdateLoadComplete(c *C) { |
| 149 | repo := NewLocalRepo("local1", "Comment 1") |
nothing calls this directly
no test coverage detected