<s> import unittest <EOL> from tempodb . protocol . protocol import make_series_key <EOL> class TestProtocolBasics ( unittest . TestCase ) : <EOL> def test_make_series_key ( self ) : <EOL> k = '<STR_LIT>' <EOL> tags = [ '<STR_LIT:foo>' ] <EOL> attrs = { '<STR_LIT:bar>' : '<STR_LIT>' } <EOL> ret = make_series_key ( k , tags , attrs ) <EOL> self . assertEquals ( ret , '<STR_LIT>' ) </s>
