~libqtelegram-team/telegram-app/reset-emblem-counter

« back to all changes in this revision

Viewing changes to tests/autopilot/sctelegram/test_scope.py

  • Committer: Michał Karnicki
  • Date: 2014-12-08 13:38:37 UTC
  • mfrom: (175.2.1 app-dev-theone)
  • Revision ID: michal.karnicki@canonical.com-20141208133837-md8h3yjbqrsn2v86
Add a scope to Telegram.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from autopilot.testcase import AutopilotTestCase
 
2
import subprocess
 
3
import os
 
4
import json
 
5
import locale
 
6
import configparser
 
7
 
 
8
dir_base = os.path.expanduser("~/.local/share/unity-scopes")
 
9
scope_path = os.path.join(dir_base, "com.ubuntu.telegram_sctelegram_0.9.19.175.1.17")
 
10
ini_path = os.path.join(scope_path, "com.ubuntu.telegram_sctelegram.ini")
 
11
langs_ =""
 
12
SCOPEDATA = "/home/phablet/autopilot/scope-data"
 
13
locale.setlocale(locale.LC_ALL, '')
 
14
encoding = locale.getdefaultlocale()[1]
 
15
 
 
16
class ScopeSpecificTests(AutopilotTestCase):
 
17
    """
 
18
    Test scope specific stuff
 
19
    """