Changeset 8d7cc55


Ignore:
Timestamp:
2021-03-18T11:18:36Z (4 years ago)
Author:
/ <>
Children:
4c87970
Parents:
51f144a
Message:

always run gcovr

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .github/workflows/ci.yml

    r51f144a r8d7cc55  
    3838
    3939    - name: code coverage
     40      if: ${{ always() }}
    4041      run: |
    4142        gcovr -r .
  • .tests/test1.py

    r51f144a r8d7cc55  
    150150
    151151    clis[0].send_priv_msg("&bitlbee", "blist")
    152     ret = clis[0].receive().find(clis[1].nick) != -1
    153 
    154     clis[1].send_priv_msg("&bitlbee", "remove" +clis[1].nick)
     152    junk = clis[0].receive()
     153    ret = junk.find(clis[1].nick) != -1
     154    ret = ret & (junk.find("1 available") != -1)
     155
     156    clis[0].send_priv_msg("&bitlbee", "remove" +clis[1].nick)
    155157    clis[0].send_priv_msg("&bitlbee", "blist")
    156158    ret = ret & (clis[0].receive().find(clis[1].nick) == -1)
     
    159161    clis[1].send_priv_msg("&bitlbee", "yes")
    160162    clis[0].send_priv_msg("&bitlbee", "blist")
    161     ret = ret & (clis[0].receive().find(clis[1].nick) != -1)
     163    junk = clis[0].receive()
     164    ret = ret & (junk.find("1 available") != -1)
     165    ret = ret & (junk.find(clis[1].nick) != -1)
    162166
    163167def message_test(clis):
Note: See TracChangeset for help on using the changeset viewer.