~yacinechaouche/+junk/BZR

« back to all changes in this revision

Viewing changes to RADIO/LIBS/PYTHON/test_slice.py

  • Committer: yassine chaouche
  • Date: 2015-01-19 08:16:59 UTC
  • Revision ID: yacinechaouche@yahoo.com-20150119081659-1a5spowxj8h3enao
Ajout du code RADIO.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import getslice
 
2
 
 
3
form = {
 
4
    "return":"index.php",
 
5
    "username":"ychaouche",
 
6
    "password":"yassinemantisbt",
 
7
    }
 
8
 
 
9
attrs    = {"class":"width75"}
 
10
 
 
11
getslice.login(action_url="http://mantisbt/login.php",form_data=form)
 
12
table = getslice.get(url="http://mantisbt/account_page.php",bs_attrs=attrs)
 
13
 
 
14
print table
 
15
 
 
16