Explorar el Código

tests: fix typo in TextureAttrib test

rdb hace 5 años
padre
commit
f7cef5c284
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      tests/pgraph/test_textureattrib.py

+ 2 - 2
tests/pgraph/test_textureattrib.py

@@ -131,8 +131,8 @@ def test_textureattrib_replace():
 
     tattr2 = tattr1.add_on_stage(stage1, tex1)
 
-    assert tattr1.get_num_stages() == 1
-    assert tattr2.get_num_stages() == 1
+    assert tattr1.get_num_on_stages() == 1
+    assert tattr2.get_num_on_stages() == 1
     assert tattr1.compare_to(tattr2) == 0