<s> from irc3 . testing import BotTestCase <EOL> class TestUptime ( BotTestCase ) : <EOL> def test_uptime ( self ) : <EOL> bot = self . callFTU ( includes = [ '<STR_LIT>' ] ) <EOL> bot . notify ( '<STR_LIT>' ) <EOL> bot . dispatch ( '<STR_LIT>' ) <EOL> self . assertSent ( <EOL> [ ( '<STR_LIT>' <EOL> '<STR_LIT>' ) ] ) <EOL> bot . uptime . uptime -= <NUM_LIT> * <NUM_LIT> <EOL> bot . uptime . connection_uptime -= <NUM_LIT> * <NUM_LIT> <EOL> bot . dispatch ( '<STR_LIT>' ) <EOL> self . assertSent ( <EOL> [ ( '<STR_LIT>' <EOL> '<STR_LIT>' ) ] ) </s>
