1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-30 07:41:09 +02:00

Update package web with Quality structure

This commit is contained in:
Alexandre Iooss
2020-10-19 19:57:04 +02:00
parent d03d4fed40
commit d263f743f7
4 changed files with 15 additions and 14 deletions

View File

@ -5,13 +5,13 @@ import (
"testing"
"time"
"gitlab.crans.org/nounous/ghostream/stream"
"gitlab.crans.org/nounous/ghostream/messaging"
)
// TestHTTPServe tries to serve a real HTTP server and load some pages
func TestHTTPServe(t *testing.T) {
// Init streams messaging
streams := make(map[string]*stream.Stream)
streams := messaging.New()
// Create a disabled web server
go Serve(streams, nil, nil, &Options{Enabled: false, ListenAddress: "127.0.0.1:8081"})