# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Vyatta.Vyatta.get_version test
## Auto-generated by manage.py debug-script at 2010-12-24 23:22:53
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Vyatta_Vyatta_get_version_Test(ScriptTestCase):
    script="Vyatta.Vyatta.get_version"
    vendor="Vyatta"
    platform='VC'
    version='VC6.1-2010.08.20'
    input={}
    result={'platform': 'VC', 'vendor': 'Vyatta', 'version': 'VC6.1-2010.08.20'}
    motd=' \nLinux vyatta 2.6.32-1-586-vyatta #1 SMP Mon Aug 2 22:57:10 PDT 2010 i686\nWelcome to Vyatta.\nThis system is open-source software. The exact distribution terms for \neach module comprising the full system are described in the individual \nfiles in /usr/share/doc/*/copyright.\nLast login: Fri Dec 24 20:22:18 2010 from 172.16.111.5\n'
    cli={
## 'show version'
'show version': """show version
Version:      VC6.1-2010.08.20
Description:  Vyatta Core 6.1 2010.08.20
Copyright:    2006-2010 Vyatta, Inc.
Built by:     autobuild@vyatta.com
Built on:     Fri Aug 20 04:27:08 UTC 2010
Build ID:     1008200429-170b446
Boot via:     livecd
Uptime:       20:22:50 up 6 min,  2 users,  load average: 0.01, 0.12, 0.08

""",
'terminal length 0':  'terminal length 0\n',
}
    snmp_get={}
    snmp_getnext={}
