1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-07-01 11:11:13 +02:00

Update package telnet with Quality structure

This commit is contained in:
Alexandre Iooss
2020-10-19 19:44:30 +02:00
parent 069b2155be
commit 340d0447a8
2 changed files with 26 additions and 16 deletions

View File

@ -3,13 +3,13 @@ package telnet
import (
"testing"
"gitlab.crans.org/nounous/ghostream/stream"
"gitlab.crans.org/nounous/ghostream/messaging"
)
// TestTelnetOutput creates a TCP client that connects to the server and get one image.
func TestTelnetOutput(t *testing.T) {
// Try to start Telnet server while it is disabled
streams := make(map[string]*stream.Stream)
streams := messaging.New()
go Serve(streams, &Options{Enabled: false})
// FIXME test connect