mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Method Pause/Resume for Downloader.
This commit is contained in:
@@ -45,6 +45,14 @@ func (s *DownloaderSuite) TestStartupShutdown(c *C) {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *DownloaderSuite) TestPauseResume(c *C) {
|
||||
d := NewDownloader(2)
|
||||
defer d.Shutdown()
|
||||
|
||||
d.Pause()
|
||||
d.Resume()
|
||||
}
|
||||
|
||||
func (s *DownloaderSuite) TestDownloadOK(c *C) {
|
||||
d := NewDownloader(2)
|
||||
defer d.Shutdown()
|
||||
|
||||
Reference in New Issue
Block a user